Bug 244713

Summary: enumerateDevices may return filtered devices even if page is capturing
Product: WebKit Reporter: youenn fablet <youennf>
Component: WebRTCAssignee: youenn fablet <youennf>
Status: RESOLVED FIXED    
Severity: Normal CC: eric.carlson, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description youenn fablet 2022-09-02 05:09:40 PDT
enumerateDevices may return filtered devices even if page is capturing
Comment 1 Radar WebKit Bug Importer 2022-09-02 05:10:05 PDT
<rdar://problem/99484964>
Comment 2 youenn fablet 2022-09-02 05:37:48 PDT
The scenario is the following:
- start capture in safari, enumerateDevices output is no longer filtered
- Mute capture (or go to another app that will play audio, which will mute capture)
- watchDog timer kicks in
- When watchDog timer kicks in, enumerateDevices output is filtered.
- Unmute capture (or moving back to Safari might restart capture).
- Page is capturing but enumerateDevices output is still filtered.
Comment 3 youenn fablet 2022-09-02 06:21:08 PDT
Pull request: https://github.com/WebKit/WebKit/pull/3955
Comment 4 EWS 2022-09-05 07:54:55 PDT
Committed 254165@main (3142453d3762): <https://commits.webkit.org/254165@main>

Reviewed commits have been landed. Closing PR #3955 and removing active labels.