This message was deleted.
# helpdesk
s
This message was deleted.
d
Are you looking to automatically upload all tracks to Google Cloud? If so take a look at Auto Egress docs. This would work with Cloud as well.
g
Thank you. But how should I trigger the CreateRoom operation? I assume it's from the baceknd but I don't understand how to do it.
d
Hi @glamorous-air-63483 you'll need to integrate LiveKit from your backend too.
CreateRoom
is a server API that's accessible from any one of our server SDKs
g
If I want the egress a specific track , what would be the trackID in the following js command: egressClient.startTrackEgress('my-room', output, trackID); How do I get this value?
d
You can get this in two ways: • via client SDKs: when you publish a track, it'll return a TrackPublication object, which contains the
sid
of the track. • via server SDKs: you can get a webhook callback whenever a track is published, or call
ListParticipant
API to dump all of that participant's tracks.