Closed Bug 1139274 Opened 9 years ago Closed 6 years ago

[B2G] Async method for updating audio channel state in the MediaElement

Categories

(Firefox OS Graveyard :: AudioChannel, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: alwu, Unassigned)

Details

This issue is from Bug 1119936. In the following code, we update the audio channel state in both ChangeNetworkState() and ChangeReadyState().
https://dxr.mozilla.org/mozilla-central/source/dom/html/HTMLMediaElement.cpp?from=HTMLMEdiaElement.cpp#697

It's not good to update the audio channel state at the short time even we cache the value in mPlayingThroughTheAudioChannel to prevent duplicate changes.

So we need to make an async function so that changes are aggregated and take effect in the next run.
Assignee: nobody → alwu
Assignee: alwu → nobody
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.