twilio / video-quickstart-js

A quickstart and code samples for Twilio Video JavaScript SDK. https://www.twilio.com/docs/video
Other
389 stars 337 forks source link

Is it possible to track an audio event? #165

Closed pikaclint closed 3 years ago

pikaclint commented 3 years ago

Hi would like to know if for example my own audioTrack is muted and I started speaking while muted it can return an event, this will be similar to teams to tell you that you are muted.

Probably the general question if we are able to track AudioEvents while speaking? Because I believe that dominant speaker is the only audio speaking event I see on Twilio. Any hints in obtaining the audio speaking event would be great.

manjeshbhargav commented 3 years ago

Hi @pikaclint ,

The only way you can do that in my view is by using the Web Audio APIs and inspecting the audio samples and detecting speech. You can find examples online.

Thanks,

Manjesh