agents
agents copied to clipboard
DUAL_CHANNEL_AGENT in RoomCompositeEgressRequest not work
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?
this feature has not been released yet.. it'll be available soon
Hey, is it already released?
Any update?