Allow AudioContext to start when getUserMedia is on
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 12 Dec 2017 17:26:34 +0000 (17:26 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 12 Dec 2017 17:26:34 +0000 (17:26 +0000)
commitc37956406751f82273de07da52e9e0891609c617
treeedebdd9d0edf10116a47ac0f0c7db9048439c5ff
parentc1293d502de804945a3e1d5aaa4a3ba62deb1cbe
Allow AudioContext to start when getUserMedia is on
https://bugs.webkit.org/show_bug.cgi?id=180680

Patch by Youenn Fablet <youenn@apple.com> on 2017-12-12
Reviewed by Eric Carlson.

Source/WebCore:

Test: webrtc/getUserMedia-webaudio-autoplay.html

* Modules/webaudio/AudioContext.cpp:
(WebCore::AudioContext::willBeginPlayback):

LayoutTests:

* webrtc/getUserMedia-webaudio-autoplay-expected.txt: Added.
* webrtc/getUserMedia-webaudio-autoplay.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@225785 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/webrtc/getUserMedia-webaudio-autoplay-expected.txt [new file with mode: 0644]
LayoutTests/webrtc/getUserMedia-webaudio-autoplay.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/Modules/webaudio/AudioContext.cpp