Here is my egress request: ```egress_request = ap...
# ask-ai
g
Here is my egress request:
Copy code
egress_request = api.RoomCompositeEgressRequest(
            room_name=room_name,
            audio_only=True,
            audio_mixing=api.AudioMixing.DUAL_CHANNEL_AGENT,
            file=api.EncodedFileOutput(
                file_type=api.EncodedFileType.OGG,
                filepath=f"{env_prefix}/{self._org_name}/"
                + "{room_id}/audio/composite.ogg",
                azure=self._azure_config,
            ),
        )
Why is this not working to produce a dual channel output?
t
Thanks for reaching out, Aumesh. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Let's work together to figure out why your dual channel audio output isn't working as expected. Here are a few things to check: • Audio-Only Configuration: Please make sure
audio_only=True
is set and that no video egress is configured. • Participant Types: For
DUAL_CHANNEL_AGENT
, double-check that agent participants are correctly identified and that there are both agent and non-agent participants in the room. • Audio Tracks: Verify that all participants have active audio tracks and that none are muted or disabled. • Output Format: Confirm the output format (like OGG) supports stereo audio. • Egress Status: Keep an eye on the egress status and logs for any errors or warnings. If you're still facing issues, it would be really helpful if you could share: • Your full egress request configuration • The egress status and any error messages you’re seeing • Details about the participants in your room (such as their types and audio track status) • The output format you’re using With this info, we can better understand what might be causing the problem and guide you toward a solution. We're here to help every step of the way! Sources: livekit/livekit_egress.pb.go | src/main/kotlin/io/livekit/server/EgressServiceClient.kt | packages/livekit-server-sdk/src/EgressClient.ts | pkg/pipeline/builder/audio.go