Bug 223198

Summary: acquiring videoTrack on 2nd instance mutes 1st instance
Product: WebKit Reporter: makarand
Component: WebRTCAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Major CC: webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: Safari 14   
Hardware: Mac (Intel)   
OS: macOS 11   

makarand
Reported 2021-03-15 11:26:03 PDT
I am seeing this on Safari Version 14.0.3 running on Mac OS (11.2.1) Open two instances of Safari ( let's call them A and B ) side by side. On A) open https://makarandp0.github.io/twilio-video-api/ and click on "+ Local Video Track" This simply calls GetUserMedia to acquire a video track and renders it in a Video Element. It also shows state of the track. On B) repeat the same step on B, notice that video track on A gets muted and turns black.
Attachments
youenn fablet
Comment 1 2021-03-22 03:45:51 PDT
This is by design: only one page at a time can get camera and/or microphone. The user can manage this through the camera/mic red icon. The web page can rerequest getUserMedia access, for instance when it gets its tracks in muted state. getUserMedia will then only process the request when the page is visible.
Radar WebKit Bug Importer
Comment 2 2021-03-22 11:27:12 PDT
Note You need to log in before you can comment on or make changes to this bug.