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
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?
We subscribe
AudioSocket.AudioMediaReceived
andAudioSocket.DominantSpeakerChanged
events. When theAudioMediaReceived
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 useDominantSpeakerChanged
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?