-
Notifications
You must be signed in to change notification settings - Fork 1.9k
heygen liveavatar plugin #3948
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
heygen liveavatar plugin #3948
Conversation
|
🔥 |
livekit-plugins/livekit-plugins-heygen/livekit/plugins/heygen/avatar.py
Outdated
Show resolved
Hide resolved
livekit-plugins/livekit-plugins-heygen/livekit/plugins/heygen/avatar.py
Outdated
Show resolved
Hide resolved
| ) | ||
|
|
||
| if self._agent_audio_track is not None: | ||
| agent_audio_stream = rtc.AudioStream.from_track(track=self._agent_audio_track) |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
heygen liveavatar docs