Skip to content
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

Can I stream an individual participant's audio? #35

Open
HaoTao95 opened this issue Sep 27, 2021 · 1 comment
Open

Can I stream an individual participant's audio? #35

HaoTao95 opened this issue Sep 27, 2021 · 1 comment

Comments

@HaoTao95
Copy link

When I stream the audio for an individual participant of Teams meeting, it seems that it streams the whole meeting's audio.
Is there a solution for individual audio streaming?

@JonatanMedinilla
Copy link
Collaborator

Hi @HaoTao95, at the moment BDK and the SDK's we use don't support isolated audio. There is a workaround but you have to modify the codebase on your own. In the following Bot Media SDK document we can observe that we can configure the AudioSocketSettings to receive the unmixed buffers. As the documentation says, you will only receive the top four active speakers (you won't be able to receive all participants' audio) and the bot will receive only unmixed audio and not both unmixed and mixed. Also, the unmixed audio is optimized for machine cognition rather than for human perception, so some concealment treatments aren't applied to the received audio streams in the unmixed mode. If you want to move forward with this workaround, you should modify how the local media session is created, and how the audio buffers are handled.

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

No branches or pull requests

2 participants