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.
Articles in this section
- Checklist for when cycleVideo is not working in JavaScript
- Why Is My Video Camera Displaying a 4:3 Aspect Ratio Instead of 16:9 When Publishing in HD OR FHD resolution (1280x720)?
- How to use Completion handler for Exception Handling
- Firefox Pre-call test not supported
- Error Creating Session Using Vonage Video API .NET SDK
- Unable to Create Session Even Though API Key and Secret Are Valid
- HTTP 415 Error When Archiving Video Session
- Troubleshooting Invalid JWT When Creating a Video Session using REST API
- Camara Still in Use after Session Disconnect on Android
- Token Shows as Invalid