Closed
Bug 1517324
Opened 6 years ago
Closed 6 years ago
start blocked AudioContext when it's MediaStreamAudioSourceNode starts
Categories
(Core :: Web Audio, enhancement, P2)
Core
Web Audio
Tracking
()
RESOLVED
FIXED
mozilla67
Tracking | Status | |
---|---|---|
firefox67 | --- | fixed |
People
(Reporter: alwu, Assigned: alwu)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
In bug1513733, we would resume blocked AudioContext which uses MediaElement as a audio source node when its audio source starts playing.
We should also do similar thing for "MediaStreamAudioSourceNode".
Updated•6 years ago
|
Rank: 15
Priority: -- → P2
Assignee | ||
Comment 1•6 years ago
|
||
This patch would try to start blocked AudioContext when it creates a MediaSourceStreamNode which has an active input stream, which means someone is feeding input data to AudioContext.
Therefore, we can do the similar thing like what we did for AudioScheduledSourceNode and MediaElementAudioSource node, to start AudioContext if current autoplay policy has allowed AudioContext to start.
Assignee | ||
Comment 2•6 years ago
|
||
Updated•6 years ago
|
Attachment #9041220 -
Attachment description: Bug 1517324 - part1 : try to start blocked AudioContext when it creates a MediaSourceStreamNode with an active input stream. → Bug 1517324 - part1 : try to start blocked AudioContext when it creates a MediaStreamAudioSourceNode with an active input stream.
Updated•6 years ago
|
Attachment #9041221 -
Attachment description: Bug 1517324 - part2: add test. → Bug 1517324 - part2: add autoplay test for MediaStreamAudioSourceNode creation with active stream
Updated•6 years ago
|
Attachment #9041221 -
Attachment description: Bug 1517324 - part2: add autoplay test for MediaStreamAudioSourceNode creation with active stream → Bug 1517324 - part2: add autoplay test for createMediaStreamSource() with active stream
Updated•6 years ago
|
Attachment #9041220 -
Attachment description: Bug 1517324 - part1 : try to start blocked AudioContext when it creates a MediaStreamAudioSourceNode with an active input stream. → Bug 1517324 - part1 : try to start blocked AudioContext with active MediaStreamAudioSourceNode stream
Pushed by alwu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a04946ac4b3c
part1 : try to start blocked AudioContext with active MediaStreamAudioSourceNode stream r=karlt
https://hg.mozilla.org/integration/autoland/rev/0f80b6c7fb66
part2: add autoplay test for createMediaStreamSource() with active stream r=karlt
Comment 4•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/a04946ac4b3c
https://hg.mozilla.org/mozilla-central/rev/0f80b6c7fb66
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox67:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in
before you can comment on or make changes to this bug.
Description
•