Thanks — great question. You're asking whether egress audio can be obtained in a format other than OGG. Short answer: yes, but it depends on which egress type you use.
• Track Egress: Raw audio tracks coming from WebRTC use the Opus codec, and those are stored as OGG files. You cannot change that directly for Track Egress because Opus-in-WebRTC is saved as OGG.
• Room Composite / Track Composite (with transcoding): You can export audio in other formats (for example MP4, WebM, or WAV) by using composite egress with transcoding enabled. That lets you convert the Opus/OGG source into a different container/codec during the egress/transcode step.
If you’d like, tell me:
1. Which egress type you’re using now (Track Egress, Room Composite, or Track Composite).
2. Which target audio format you need (MP3, WAV, MP4, WebM, etc.).
3. Whether you need a specific codec (e.g., MP3 vs WAV) or just a different container.
With those details I can give step-by-step options for configuring the composite egress/transcoding to produce the format you want.
Sources:
Universal Egress |
Universal Egress |
Universal Egress |
server-sdk-js | livekit/livekit_composite | DeepWiki