Bug 200781

Summary: Make getDisplayMedia follow user gesture for media
Product: WebKit Reporter: youenn fablet <youennf>
Component: WebRTCAssignee: youenn fablet <youennf>
Status: RESOLVED WONTFIX    
Severity: Normal CC: eric.carlson, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

youenn fablet
Reported 2019-08-15 12:39:59 PDT
Make getDisplayMedia follow user gesture for media
Attachments
Patch (4.15 KB, patch)
2019-08-15 12:41 PDT, youenn fablet
no flags
youenn fablet
Comment 1 2019-08-15 12:41:10 PDT
Radar WebKit Bug Importer
Comment 2 2019-08-15 12:41:38 PDT
Eric Carlson
Comment 3 2019-08-19 05:59:51 PDT
Comment on attachment 376409 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=376409&action=review > Source/WebCore/Modules/mediastream/MediaDevices.cpp:129 > + if (!m_disableGetDisplayMediaUserGestureConstraint && !document->processingUserGestureForMedia()) { I'm not sure we want this because on mobile, UserGestureIndicator::processingUserGestureForMedia allows a touch start whereas UserGestureIndicator::processingUserGesture allows only a touch end.
youenn fablet
Comment 4 2019-08-26 01:59:19 PDT
Let's keep the current behaviour which is more predictable for now. We can revisit if we find some blocking scenarios.
Note You need to log in before you can comment on or make changes to this bug.