*Summary:*
The Audio Session API lets web apps declare their audio intent and observe 
the system audio state.

Instead of relying on browser guesses, pages can specify whether they're 
playing media, a notification, or a call, and receive events when audio is 
interrupted, deactivated, or resumed. This makes web audio behave more like 
native apps across platforms. 
*Bug*:
https://bugzilla.mozilla.org/show_bug.cgi?id=2055710 (enable pref on 
Nightly)
https://bugzilla.mozilla.org/show_bug.cgi?id=1830428 (meta)

*Specification*: https://w3c.github.io/audio-session/

<https://w3c.github.io/mediacapture-fromelement/#html-media-element-media-capture-extensions>
*Preference*: 
dom.audio_session.enabled

*Platform coverage*: All

*Other browsers: * 
https://caniuse.com/mdn-api_audiosession   
<https://caniuse.com/mdn-api_audiosession>
Chromium: Not supported 
Safari: Supported

*Web-platform-tests:*
https://wpt.fyi/results/audio-session

-- 
You received this message because you are subscribed to the Google Groups 
"[email protected]" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/a/mozilla.org/d/msgid/dev-platform/1ecfff3f-4fae-4c1e-9f59-d814611be93dn%40mozilla.org.

Reply via email to