Skip to content

Conversation

@tinalenguyen
Copy link
Contributor

@tinalenguyen tinalenguyen commented Nov 15, 2025

@theomonnom theomonnom requested a review from longcw November 17, 2025 23:03
@theomonnom
Copy link
Member

🔥

)

if self._agent_audio_track is not None:
agent_audio_stream = rtc.AudioStream.from_track(track=self._agent_audio_track)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm curious will the heygen avatar publish the audio track to the room? if so are there two audio tracks?

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes iirc, on HeyGen side, we also publish an audio track to the room.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if that's the case we can use QueueAudioOutput to passthrough agent audio to the avatar plugin so it's not published to the room from the agent side. here is an example cc @tinalenguyen

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, there are two audio tracks. i set the permissions so that the local track cannot be heard by other participants and only the avatar track will play (code). i will check out QueueAudioOutput, thanks @longcw!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants