Follow

Why do I get an overconstrained error on iOS.

When opening the Web SDK in multiple browser tabs in Safari, the subsequent tabs will not be able to access the camera if the camera has not been paused.

You can detect when a browser window is out of focus, and pause scanning by using captureMode.isEnabled = false and camera.switchToDesiredState(Scandit.FrameSourceState.Off)

 

WebSDK 5.x (Legacy)

When opening the Web SDK in multiple browser tabs in Safari, the subsequent tabs will not be able to access the camera if the camera has not been paused.

You can detect when a browser window is out of focus, and pause scanning by using pauseScanning and setting the pauseCamera argument to "true".

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request