Closed
Bug 961967
(app-audio-channel)
Opened 11 years ago
Closed 7 years ago
[meta] Audio channel manager to handle audio channel competing
Categories
(Firefox OS Graveyard :: Gaia::System::Window Mgmt, defect)
Tracking
(feature-b2g:3.0?, tracking-b2g:+)
RESOLVED
WONTFIX
People
(Reporter: alive, Unassigned)
References
Details
Attachments
(1 file)
2.04 MB,
application/pdf
|
Details |
BrowserAudioChannel is the API wrapper of new audio channel API.
There would be an AudioChannelManager to gather all events from BrowserAudioChannel to decide competing result and control the instance.
Reporter | ||
Updated•11 years ago
|
Alias: app-audio-channel
Updated•10 years ago
|
Depends on: NewAudioChannel
Updated•10 years ago
|
Summary: [Window Management] Implement BrowserAudioChannel in AppWindow sub component → Implement AudioChannelManager to handle audio channel competing
Comment 1•10 years ago
|
||
The audio channel management API document: https://gist.github.com/evanxd/41d8e2d91c5201a42bfa
(discussed by Gaia and Gecko people)
We will implement the Gaia module without the Gecko API support, and the API doc is what we assume to do that.
Comment 2•10 years ago
|
||
Pseudo code for audio channel manager: https://gist.github.com/evanxd/c5ee3c5b8a389e01227a
Comment 3•10 years ago
|
||
When an app is created(`appcreated` event received) in app window manager[1], we do `audioChannelManager.register(app.browser.element)`[2] for managing its audio channel there[1].
[1] https://github.com/mozilla-b2g/gaia/blob/master/apps/system/js/app_window_manager.js#L496
[2] https://gist.github.com/evanxd/c5ee3c5b8a389e01227a#file-audio-channel-manager-js-L20
Comment 4•10 years ago
|
||
And we do same thing for activity's audio channel management in activity window manager[2].
[1] https://github.com/mozilla-b2g/gaia/blob/master/apps/system/js/activity_window_manager.js#L136
Updated•10 years ago
|
Summary: Implement AudioChannelManager to handle audio channel competing → [meta] Audio channel manager to handle audio channel competing
Comment 5•10 years ago
|
||
Updated•10 years ago
|
feature-b2g: --- → 3.0?
tracking-b2g:
--- → +
Comment 6•10 years ago
|
||
Hi Baku,
You could see the audio channel management spec here.
Comment 7•7 years ago
|
||
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.
Description
•