gecko-dev/dom/media/webaudio
Alastor Wu 154304a084 Bug 1517324 - part1 : try to start blocked AudioContext with active MediaStreamAudioSourceNode stream r=karlt
This patch would try to start a blocked AudioContext when it creates a MediaStreamAudioSourceNode which has an active input stream or when a node's inactive stream becomes active, which means someone is feeding input data to AudioContext.

Therefore, we can do the similar thing like what we did for AudioScheduledSourceNode and MediaElementAudioSourceNode, to start AudioContext if current autoplay policy has allowed AudioContext to start.

Differential Revision: https://phabricator.services.mozilla.com/D18576

--HG--
extra : moz-landing-system : lando
2019-02-06 23:14:09 +00:00
..
blink Bug 1524087 - Use exp2 instead of pow in OscillatorNode r=padenot 2019-01-31 15:11:35 +00:00
test Bug 1512737 assign HRTF to panningModel attribute instead of adding type property r=padenot 2019-01-07 08:51:31 +00:00
AlignedTArray.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
AlignmentUtils.h Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
AnalyserNode.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
AnalyserNode.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
AudioBlock.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
AudioBlock.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
AudioBuffer.cpp Bug 1509442 - Enter a realm here. r=qdot 2018-12-20 05:40:20 +00:00
AudioBuffer.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
AudioBufferSourceNode.cpp Bug 1524087 - Use exp2 instead of pow in OscillatorNode r=padenot 2019-01-31 15:11:35 +00:00
AudioBufferSourceNode.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
AudioContext.cpp Bug 1524026 - part1 : to allow 'AudioContext::GetAllStreams()' to get helper streams. r=padenot 2019-02-05 22:54:09 +00:00
AudioContext.h bug 1516956 keep AudioContext alive from AudioWorklet r=baku 2019-01-31 07:16:31 +00:00
AudioDestinationNode.cpp Bug 1513638 - Rename DispatchToMainThreadAfterStreamStateUpdate to DispatchToMainThreadStableState. r=jya,karlt 2018-12-19 04:34:10 +00:00
AudioDestinationNode.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
AudioEventTimeline.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
AudioEventTimeline.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
AudioListener.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
AudioListener.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
AudioNode.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
AudioNode.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
AudioNodeEngine.cpp Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
AudioNodeEngine.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
AudioNodeEngineNEON.cpp Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
AudioNodeEngineNEON.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
AudioNodeEngineSSE2.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
AudioNodeEngineSSE2.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
AudioNodeExternalInputStream.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
AudioNodeExternalInputStream.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
AudioNodeStream.cpp Bug 1513722 run AudioWorklet for OfflineAudioContext on MSG thread r=padenot 2018-12-20 07:58:13 +00:00
AudioNodeStream.h Bug 1513722 run AudioWorklet for OfflineAudioContext on MSG thread r=padenot 2018-12-20 07:58:13 +00:00
AudioParam.cpp Bug 1524026 - part1 : to allow 'AudioContext::GetAllStreams()' to get helper streams. r=padenot 2019-02-05 22:54:09 +00:00
AudioParam.h Bug 1524026 - part 2 : add test. r=padenot,smaug 2019-02-05 22:50:42 +00:00
AudioParamDescriptorMap.h Bug 1501709 - AudioWorkletGlobalScope::RegisterProcessor: check descriptors and convert them to an internal representation. r=karlt,baku,froydnj 2019-01-10 18:45:38 +00:00
AudioParamMap.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
AudioParamMap.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
AudioParamTimeline.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
AudioProcessingEvent.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
AudioProcessingEvent.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
AudioScheduledSourceNode.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
AudioScheduledSourceNode.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
AudioWorkletGlobalScope.cpp Bug 1521907 part 4. Start using CheckedUnwrapStatic/Dynamic in non-binding DOM code. r=peterv 2019-02-02 03:24:22 +00:00
AudioWorkletGlobalScope.h Bug 1501709 - AudioWorkletGlobalScope::RegisterProcessor: check descriptors and convert them to an internal representation. r=karlt,baku,froydnj 2019-01-10 18:45:38 +00:00
AudioWorkletImpl.cpp bug 1516956 keep AudioContext alive from AudioWorklet r=baku 2019-01-31 07:16:31 +00:00
AudioWorkletImpl.h Bug 1513722 run AudioWorklet for OfflineAudioContext on MSG thread r=padenot 2018-12-20 07:58:13 +00:00
AudioWorkletNode.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
AudioWorkletNode.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
AudioWorkletProcessor.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
AudioWorkletProcessor.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
BiquadFilterNode.cpp Bug 1524087 - Use exp2 instead of pow in OscillatorNode r=padenot 2019-01-31 15:11:35 +00:00
BiquadFilterNode.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
ChannelMergerNode.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
ChannelMergerNode.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
ChannelSplitterNode.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
ChannelSplitterNode.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
ConstantSourceNode.cpp Bug 1513733 - part1 : rename 'NotifyScheduledSourceNodeStarted()' r=karlt 2019-01-11 20:42:02 +00:00
ConstantSourceNode.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
ConvolverNode.cpp Bug 1513638 - Rename DispatchToMainThreadAfterStreamStateUpdate to DispatchToMainThreadStableState. r=jya,karlt 2018-12-19 04:34:10 +00:00
ConvolverNode.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
DelayBuffer.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
DelayBuffer.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
DelayNode.cpp Bug 1513638 - Rename DispatchToMainThreadAfterStreamStateUpdate to DispatchToMainThreadStableState. r=jya,karlt 2018-12-19 04:34:10 +00:00
DelayNode.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
DynamicsCompressorNode.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
DynamicsCompressorNode.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
FFTBlock.cpp Bug 1511393 - Use c-basic-offset: 2 in Emacs mode line for C/C++ code. r=nbp 2018-12-01 04:52:05 +09:00
FFTBlock.h Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
GainNode.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
GainNode.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
IIRFilterNode.cpp Bug 1513638 - Rename DispatchToMainThreadAfterStreamStateUpdate to DispatchToMainThreadStableState. r=jya,karlt 2018-12-19 04:34:10 +00:00
IIRFilterNode.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
MediaBufferDecoder.cpp Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug 2019-01-03 17:48:33 +01:00
MediaBufferDecoder.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
MediaElementAudioSourceNode.cpp Bug 1513733 - part2 : try to start AudioContext when media element which is as a source for web audio starts r=cpearce,karlt 2019-01-11 20:43:01 +00:00
MediaElementAudioSourceNode.h Bug 1513733 - part2 : try to start AudioContext when media element which is as a source for web audio starts r=cpearce,karlt 2019-01-11 20:43:01 +00:00
MediaStreamAudioDestinationNode.cpp Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug 2019-01-03 17:48:33 +01:00
MediaStreamAudioDestinationNode.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
MediaStreamAudioSourceNode.cpp Bug 1517324 - part1 : try to start blocked AudioContext with active MediaStreamAudioSourceNode stream r=karlt 2019-02-06 23:14:09 +00:00
MediaStreamAudioSourceNode.h Bug 1517324 - part1 : try to start blocked AudioContext with active MediaStreamAudioSourceNode stream r=karlt 2019-02-06 23:14:09 +00:00
moz.build Bug 1518994 - Enable NEON in AudioNodeEngine on aarch64. r=drno 2019-01-11 14:39:51 +00:00
OscillatorNode.cpp Bug 1524087 - Use exp2 instead of pow in OscillatorNode r=padenot 2019-01-31 15:11:35 +00:00
OscillatorNode.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
PannerNode.cpp Bug 1513638 - Rename DispatchToMainThreadAfterStreamStateUpdate to DispatchToMainThreadStableState. r=jya,karlt 2018-12-19 04:34:10 +00:00
PannerNode.h Bug 1518352 remove unnecessary WeakPtr support from PannerNode r=padenot 2019-01-08 10:07:15 +00:00
PanningUtils.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
PeriodicWave.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
PeriodicWave.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
PlayingRefChangeHandler.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
ReportDecodeResultTask.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
ScriptProcessorNode.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
ScriptProcessorNode.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
StereoPannerNode.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
StereoPannerNode.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
ThreeDPoint.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
ThreeDPoint.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
WaveShaperNode.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
WaveShaperNode.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
WebAudioUtils.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
WebAudioUtils.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00