Safari Can’t Access Camera in Multiple Concurrent Tabs
When using multiple tabs at once, Safari can't access the camera for my video session.
- Multiple Tabs
- Camera Access
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.
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.
Article is closed for comments.