magnificent-gigabyte-43618
09/16/2023, 5:47 AMstartTrackEgress for exporting a track. I am consistently receiving a 500 error.
https://docs.livekit.io/egress-ingress/egress/track/#export-to-cloud-storage
const output = {
fileType: EncodedFileType.MP4,
filepath: 'livekit-demo/track-test.mp4',
s3: {
accessKey: 'aws-access-key',
secret: 'aws-access-secret',
region: 'aws-region',
bucket: 'my-bucket'
}
};
const info = await egressClient.startTrackEgress('my-room', output, trackID);
const egressID = info.egressId;
The error message I am receiving is as follows:
msg: 'requested room does not exist'
AxiosError: Request failed with status code 500
I am confident that I am passing the correct room name as the first argument to startTrackEgress, yet I am seeing the above error.
I would greatly appreciate any guidance or advice on potential causes and solutions for this issue.