NotReadableError when calling getUserMedia
authoreric.carlson@apple.com <eric.carlson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 7 Aug 2018 18:33:25 +0000 (18:33 +0000)
committereric.carlson@apple.com <eric.carlson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 7 Aug 2018 18:33:25 +0000 (18:33 +0000)
commit16b5265b1da8ebdffcf7944d7c5585927a2c9d0c
tree7ddaf371ee46c9efecfbfc5108fbc867e1581055
parent43f1a5bd5895e00d5be155fec47901df808176f5
NotReadableError when calling getUserMedia
https://bugs.webkit.org/show_bug.cgi?id=188309
<rdar://problem/42916838>

Reviewed by Brent Fulgham.

* UIProcess/UserMediaProcessManager.cpp:
(WebKit::UserMediaProcessManager::willCreateMediaStream): Deal with audio and video sandbox
extensions being issued at different times. Use new ProcessState methods.
(WebKit::UserMediaProcessManager::endedCaptureSession): Use new ProcessState methods.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@234662 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit/ChangeLog
Source/WebKit/UIProcess/UserMediaProcessManager.cpp