glamorous-oil-12326
10/27/2025, 5:43 PMtall-airline-16756
10/27/2025, 5:43 PMtall-airline-16756
10/27/2025, 5:43 PMDUAL_CHANNEL_AGENT setting, which is intended to route agent audio to the left channel and other participant audio to the right channel, creating a dual-channel (stereo) mix. Sometimes, though, the output might still come out as mono when using the .ogg format, due to some limitations in how the Egress service handles transcoded audio and container formats.
Here are a few steps that might help:
• Make sure you're using room_composite or participant egress, since these are the ones that support DUAL_CHANNEL_AGENT.
• Try checking your output file with ffprobe to see its audio properties. You can do this by running:
• It might be worth considering using MP4 instead of OGG for transcoded egress, as MP4 is known to support stereo well.
• Also, double-check that your input audio sources are active and capable of stereo output.
If you'd like, I’d be happy to guide you through generating a stereo MP4 file using DUAL_CHANNEL_AGENT. Just let me know!
Sources: livekit/livekit_egress.pb.go | livekit-protocol/src/livekit.rs | livekit-plugins/livekit-plugins-clova/livekit/plugins/clova/constants.py | Egress output types | LiveKit Docsglamorous-oil-12326
10/27/2025, 5:50 PMtall-airline-16756
10/27/2025, 5:51 PMaudioMixing parameter in room composite egress requests.
• Use Cases: It’s really helpful for things like post-processing, accessibility, analysis, and multi-language scenarios.
• Requirements: Just a heads-up, it’s only available during egress operations (not live room audio), needs stereo output, and the channel assignment depends on the order of tracks.
If you’d like, I’m here to help you with setting up DUAL_CHANNEL_ALTERNATE in your configuration. Just let me know!
Sources: src/main/kotlin/io/livekit/server/EgressServiceClient.kt | packages/livekit-server-sdk/src/EgressClient.ts | livekit-protocol/livekit/protocol/models.py | livekit/livekit_egress.pb.go