Bug 223198 - acquiring videoTrack on 2nd instance mutes 1st instance
Summary: acquiring videoTrack on 2nd instance mutes 1st instance
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebRTC (show other bugs)
Version: Safari 14
Hardware: Mac (Intel) macOS 11
: P2 Major
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-03-15 11:26 PDT by makarand
Modified: 2021-03-22 11:27 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description makarand 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.
Comment 1 youenn fablet 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.
Comment 2 Radar WebKit Bug Importer 2021-03-22 11:27:12 PDT
<rdar://problem/75700376>