Voice activity action for Media Session
- Category
- Miscellaneous
- Type
- Chromium catches up
- Status
- In development (Chrome In development)
- Intent stage
- None
Summary
Adds support for the "voiceactivity" action to the MediaSession interface. The "voiceactivity" action handler is called when voice activity is detected from microphone input when the microphone state is inactive. Applications may display a notification to let the user unmute the microphone in the action handler.
Motivation
This feature provides a better user experience for conferencing apps. It allows web applications to know when the user is speaking while the microphone is muted. Without this action handler, web developers may need to implement their own voice activity detection modules with JavaScript or WebAssembly.
Standards & signals
- Specification: https://www.w3.org/TR/mediasession/#dom-mediasessionaction-voiceactivity
- Firefox: No signal
- Safari: Shipped/Shipping
- Web developers: No signals
- Tracking bug: https://issues.chromium.org/u/1/issues/357391261
Ecosystem
- Web Platform Tests: https://wpt.fyi/results/?q=voice-activity-action-for-media-session
- Chrome Platform Showcase: https://chrome-platform-showcase.paulkinlan-ea.deno.net/features
- GenDN reference: https://gendn.paulkinlan-ea.deno.net/features
- chrome.dev demos search: https://www.google.com/search?q=site%3Achrome.dev+Voice%20activity%20action%20for%20Media%20Session
- MDN Web Docs: https://developer.mozilla.org/en-US/search?q=Voice%20activity%20action%20for%20Media%20Session
- Baseline status: https://webstatus.dev/?q=Voice%20activity%20action%20for%20Media%20Session