You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current behavior
When we switch front and back cameras in previous session then it is working fine but in the next session camera is not working in Android.
Steps to reproduce
Start session
Turn video on
Flip camera
End session
Start new session
Turn on video(Now video is going blank)
Try to flip the camera(Now video is going blank)
What is the current bug behavior?
Camera Manager in Android is going to infinite loop, when trying to switch on the camera.
What is the expected correct behavior?
Able to see the camera.
Relevant logs and/or screenshots
com.opentok.android.Camera2VideoCapturer$Camera2Exception: CAMERA_IN_USE (4): Camera already in use
at com.opentok.android.Camera2VideoCapturer.initCamera(Unknown:101)
at com.opentok.android.Camera2VideoCapturer.a(Unknown:12)
at com.opentok.android.Camera2VideoCapturer.e(Unknown)
at com.opentok.android.b.run(Unknown:4)
at com.opentok.android.Camera2VideoCapturer$4.onClosed(Unknown:44)
at android.hardware.camera2.impl.CameraDeviceImpl$5.run(CameraDeviceImpl.java:213)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:193)
at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run(MessageQueueThreadImpl.java:8)
at java.lang.Thread.run(Thread.java:764)
The text was updated successfully, but these errors were encountered:
Bug Report
Current behavior
When we switch front and back cameras in previous session then it is working fine but in the next session camera is not working in Android.
Steps to reproduce
Start session
Turn video on
Flip camera
End session
Start new session
Turn on video(Now video is going blank)
Try to flip the camera(Now video is going blank)
What is the current bug behavior?
Camera Manager in Android is going to infinite loop, when trying to switch on the camera.
What is the expected correct behavior?
Able to see the camera.
Relevant logs and/or screenshots
com.opentok.android.Camera2VideoCapturer$Camera2Exception: CAMERA_IN_USE (4): Camera already in use
at com.opentok.android.Camera2VideoCapturer.initCamera(Unknown:101)
at com.opentok.android.Camera2VideoCapturer.a(Unknown:12)
at com.opentok.android.Camera2VideoCapturer.e(Unknown)
at com.opentok.android.b.run(Unknown:4)
at com.opentok.android.Camera2VideoCapturer$4.onClosed(Unknown:44)
at android.hardware.camera2.impl.CameraDeviceImpl$5.run(CameraDeviceImpl.java:213)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:193)
at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run(MessageQueueThreadImpl.java:8)
at java.lang.Thread.run(Thread.java:764)
The text was updated successfully, but these errors were encountered: