Open xxyzzzq opened 8 years ago
Closing this issue since we are moving audio focus out to a separate API.
From @rektide on September 19, 2016 17:53
@xxyzzzq what is that separate API? how can we follow-up/where do we look instead of here?
We haven't created a repo for the AudioFocus API yet. It is #138
From @foolip on September 2, 2015 14:44
The spec currently defines some things in terms of what kind of media session caused a callback, with a fallback for when it was caused by something external. For example:
The way we want to implement media sessions, at least on Android, is instead to let each media session individually interact with the platform API, which implies that you would never know if an interruption comes from another media session or something else.
My proposed fix for this is to define a virtual platform API with roughly the following shape:
Then define how an individual media session interacts with this system, instead of defining the interactions in terms of other media sessions.
Copied from original issue: WICG/mediasession#100