Safari Can’t Access Camera in Multiple Concurrent Tabs
Symptom
When using multiple tabs at once, Safari can't access the camera for my video session.
Applies To
- Safari
- Multiple Tabs
- Camera Access
Resolution
There is no workaround for this, but you can implement a way to detect when this occurs. Listen to the 'pause' event on the video element. It will be dispatched when the camera is taken away. Here is a sample that shows an alert message when the video is paused.
Cause
There is a known bug with Safari. The browser only allows one tab access to your microphone and webcam at a time. Opening another tab and joining a webRTC session will cause the video in the initial tab to go black.
Comments
0 comments
Please sign in to leave a comment.