w3c / mediasession

Media Session API
https://w3c.github.io/mediasession/
Other
129 stars 29 forks source link

Status of AudioFocus API #277

Open chrisn opened 2 years ago

chrisn commented 2 years ago

In section 5.2 Routing, the Media Session spec says:

It is RECOMMENDED that the user agent selects the active media session by managing audio focus. A tab or browsing context is said to have audio focus if it is currently playing audio or the user expects to control the media in it. The AudioFocus API targets this area and could be used once it’s finished.

What's the current status of the AudioFocus API. Should we still mention this in the Media Session spec?

chrisn commented 2 years ago

See https://github.com/WICG/audio-focus/issues/28

steimelchrome commented 2 years ago

I don't think we've touched this in a while and don't currently have plans to. That said, I recall @jernoble giving some historical context at the last meeting but I don't recall exactly what it was

chrisn commented 2 years ago

Thanks - the notes from the last meeting are here.

rektide commented 2 years ago

From those notes,

Jer: I believe Becca was working on [Audio Focus], but don't know if someone else picked it up

chrisn commented 5 months ago

Audio Focus is now called Audio Session, draft at https://w3c.github.io/audio-session/. Just need to figure out what Media Session needs to say about it.

chrisn commented 4 months ago

The explainer talks about Audio Focus, we should update it to point to Audio Session. Related issue: https://github.com/w3c/audio-session-detach/issues/17.