microsoft / BotBuilder-RealTimeMediaCalling

BotBuilder-RealTimeMediaCalling extends the BotBuilder to enable bots to engage in Skype audio-video calling. It provides real-time, programmable access to the voice, video, and screen sharing streams of a Skype call. The bot is a direct participant in a Skype 1:1 call.
MIT License
76 stars 36 forks source link

How can be defined active participant in the group call? #10

Closed RomanMolchanov2017 closed 7 years ago

RomanMolchanov2017 commented 7 years ago

We subscribe AudioSocket.AudioMediaReceived and AudioSocket.DominantSpeakerChanged events. When the AudioMediaReceived event is raised we have a raw audio chunk. We send this audio chunk to the transcriber as you demonstrated in the HueBot sample. But we can't define which participant this audio chunk belongs to. Therefore we use DominantSpeakerChanged event to save dominant speaker ID. But this event is raised with a big delay after the current dominant speaker changes.

What is the best way to define which speaker a currently received audio chunk belongs to?

MalarGit commented 7 years ago

Hi Roman, ActiveSpeakers in the AudioMediaBuffer will give you that information. Please note that the group calling features are not supported.