简体   繁体   中英

WebRTC Voice Activity Detection

I'm implementing a very simple WebRTC audio/video chat room using JavaScript and HTML.

It should run is all major browsers (Chrome, Firefox, Safari and Edge)

The application layout shows all the users currently collaborating, each one inside its own "square".

I would like to highlight the user that is currently speaking with a different square border color.

To the best of my knowledge the only way to implement this is using some built-in VAD API available and exposed to JS by the browser webrtc stack.

Could you please point me if this is possible, and if so, which API's should I be using?

Code examples would be very useful.

I've never tried it, but I think you can extract the C++ code from WebRTC related to VAD and build it using WASM.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM