Azure-Samples / communication-services-javascript-quickstarts

Sample code for Azure Communication Services JavaScript quickstarts
MIT License
78 stars 176 forks source link

[Qestion] How to get unmixed audio streams of each participant? #283

Open Tryptophan opened 3 days ago

Tryptophan commented 3 days ago

Hi Azure team,

I am using the ACS sdk to connect to a teams meeting and receive the audio of the participants in the meeting. In the docs here: https://learn.microsoft.com/en-us/azure/communication-services/concepts/voice-video-calling/media-access it mentions that the client should be able to get unmixed streams for each remote participant in the call (see screenshot).

image

I have not found a way to do this with any of the sdks (js/c#/python/etc). Since this is stated as a use case, I assume there is some way to get it, but I have not found anything listed in the docs here: https://learn.microsoft.com/en-us/azure/communication-services/quickstarts/voice-video-calling/get-started-raw-media-access?pivots=platform-web only ways to get mixed audio.

Please let me know how I can enable unmixed audio streams for my use case.

enricohuang commented 3 days ago

@Tryptophan currently the unmixed audio feature is not available on ACS calling JS SDK. We'll update the documentation accordingly.

Tryptophan commented 3 days ago

Hi @enricohuang thanks for getting back to me. Is there any way to get unmixed audio from a teams meeting? Right now the only way I've found so far is with the windows .NET ocmmunication sdk.

Tryptophan commented 2 days ago

@alvin-l-han @enricohuang Am I able to use the ACS call automating streaming to do this? See: https://learn.microsoft.com/en-us/azure/communication-services/how-tos/call-automation/audio-streaming-quickstart?pivots=programming-language-javascript

Call automation seems to be able to interop with teams. Is there a way I can use createCall or answerCall to connect to teams and call startMediaStreaming?