Closed Bug 1206691 Opened 9 years ago Closed 7 years ago

Implement Media Focus in Audio Channel Service

Categories

(Firefox OS Graveyard :: Gaia::System::Audio Mgmt, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: evanxd, Unassigned)

References

Details

Implement Media Focus in Audio Channel Service.
Blocks: 1183033
No longer blocks: 1183033
Hi baku,

Do you know where I can find the Media Focus's spec or any document about it?

I've tried to search that, but I didn't find out.

Thanks.
Flags: needinfo?(amarchesini)
The concept of MediaFocus is platform specific and should not be implemented in the AudioChannelService.
What we want is to have it in the b2g system app.

Reading the Media Session API spec, I guess we want to have platform specific 'backends' able to interact with the rest of the OS and managing the Media Focus, following what the OS audio policy is.

AudioChannelService (or MediaSessionService) should speak with these backends to know how to deal with new audio sources.
Flags: needinfo?(amarchesini)
Hi :baku,

Could you write down more about the concept of MediaFocus more? I am unable to understand what this could solve after taking to Evan.

I would imagine if an app would like to occupy a channel for a duration independent of the audio source, it could simply utilize Web Audio API, e.g. what Keyboard app do in bug 1103574. Is that related?
Flags: needinfo?(amarchesini)
Alastor, do you know? Could you find me in person and talk to me about this? This is supposed to be recorded in written on the bug...
Flags: needinfo?(alwu)
Blocks: 1206621
Hi, Tim,
Let me organize some ideas, then I'll go to find you or reply here.
Flags: needinfo?(alwu)
Let's postpone this for a while. I don't know when MediaSession API is going to be implemented.
Flags: needinfo?(amarchesini)
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.