agents icon indicating copy to clipboard operation
agents copied to clipboard

DUAL_CHANNEL_AGENT in RoomCompositeEgressRequest not work

Open badbye opened this issue 1 year ago • 3 comments

I hope to store the voices of users and agents in different channels. Here is an example of my request:

req = api.RoomCompositeEgressRequest(
        room_name=ctx.room.name,
        audio_only=True,
        audio_mixing=api.AudioMixing.DUAL_CHANNEL_AGENT,
        file_outputs=[
            api.EncodedFileOutput(
                file_type=api.EncodedFileType.OGG,
                filepath=audio_path,
                s3=api.S3Upload(
                    bucket=os.getenv("S3_BUCKET"),
                    region=os.getenv("S3_REGION"),
                    access_key=os.getenv("S3_ACCESS_KEY"),
                    secret=os.getenv("S3_SECRET_KEY"),
                ),
            )
        ],
    )

The final audio file was recorded, but the left and right channels were not distinguished. The voices of the user and the agent were still mixed together and could be heard in both channels. Is there something wrong with my usage method? How should I modify it?

badbye avatar May 22 '25 11:05 badbye

this feature has not been released yet.. it'll be available soon

davidzhao avatar May 24 '25 04:05 davidzhao

Hey, is it already released?

Bnowako avatar Aug 21 '25 10:08 Bnowako

Any update?

sperdices avatar Jan 07 '26 02:01 sperdices