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
Describe the bug
We recently upgraded from OVP 2.17.0 to OVP 2.22.0.
Switching between back camera and front camera was working as expected in OVP 2.17.0 on all Android and iPhone devices.
Expected behavior
In OVP 2.22.0, when switching from back camera to front camera and from front camera to back camera multiple times, streaming should be seamlessly done by the selected camera.
Wrong current behavior
Since the upgrade to OVP 2.22.0, switching between back-camera and front camera does not work on few or most Android mobiles, whereas it works well on iPhones. We use the creation of new publisher approach to switch the camera.
Our web app streaming functionality works well when loaded for first time. It gets hold of the back camera as default and does the live streaming. When we switch camera from back to front for first time, streaming works well with front camera, but when we switch again from front camera to back camera, it does not work.
It stops the streaming and shows the default UI, when again switching the camera it starts streaming from front camera. So, once it captures the front camera it does not switch to back camera again, but front camera works well every time we switch camera.
OpenVidu tutorial where to replicate the error
OpenVidu demo portal does not have switch camera capability, so unable to reproduce the issue there. However, on CE development container and as well as OV Professional, we were able to produce the issue with below steps:
Load the back camera of mobile and do live-streaming by using Samsung M30.
Once the streaming is established, switch to front camera.
When streaming is established, again switch to back camera. This will not work.
Again switch to front camera, and it works again with front camera.
Switch to back camera again, it will not work, and this behaviour continues.
OpenVidu deployment info
How is your OpenVidu Server instance deployed when you get the bug. A couple of possible examples are listed below:
Docker container as explained in OpenVidu tutorials, run with command docker run ... on macOS Catalina 10.15.1
IMPORTANT NOTE: please, if you think the bug might be related to OpenVidu Server side, specify here if you are also getting the error by using OpenVidu Server Demos instance. This instance is publicly available (use it only for this test, because it is not secure!!!): URL: https://demos.openvidu.io:4443, SECRET: MY_SECRET
Client device info (if applicable)
Android mobiles with Chrome 105, specifically Samsung.
Device Name Android Version Result (Live Streaming)
Samsung M30 10 Failed
Samsung F62 12 Failed
Samsung Galaxy M12 12 Failed
OnePlus 8 Pro 12 Passed
OnePlus 8 12 Passed
Oppo 10 and 12 Passed
Vivo 10 Failed
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here. For example, attach any useful logs related to the issue.
The text was updated successfully, but these errors were encountered:
Yes we reverified the openvidu-browser dependency and OpenVidu Server and our backend server dependencies.
All are at 2.22.0. Moreover, camera switch works well with iPhone devices and few of the android devices but it is not working on few of the android devies as listed in Client Device Info section.
Also, we have demo here https://demos.openvidu.io/openvidu-call/ (OpenVidu Call) which let you change the camera while in a session. You can check it there if you want.
Describe the bug
We recently upgraded from OVP 2.17.0 to OVP 2.22.0.
Switching between back camera and front camera was working as expected in OVP 2.17.0 on all Android and iPhone devices.
Expected behavior
In OVP 2.22.0, when switching from back camera to front camera and from front camera to back camera multiple times, streaming should be seamlessly done by the selected camera.
Wrong current behavior
Since the upgrade to OVP 2.22.0, switching between back-camera and front camera does not work on few or most Android mobiles, whereas it works well on iPhones. We use the creation of new publisher approach to switch the camera.
Our web app streaming functionality works well when loaded for first time. It gets hold of the back camera as default and does the live streaming. When we switch camera from back to front for first time, streaming works well with front camera, but when we switch again from front camera to back camera, it does not work.
It stops the streaming and shows the default UI, when again switching the camera it starts streaming from front camera. So, once it captures the front camera it does not switch to back camera again, but front camera works well every time we switch camera.
OpenVidu tutorial where to replicate the error
OpenVidu demo portal does not have switch camera capability, so unable to reproduce the issue there. However, on CE development container and as well as OV Professional, we were able to produce the issue with below steps:
OpenVidu deployment info
How is your OpenVidu Server instance deployed when you get the bug. A couple of possible examples are listed below:
docker run ...
on macOS Catalina 10.15.1Client device info (if applicable)
Android mobiles with Chrome 105, specifically Samsung.
Device Name Android Version Result (Live Streaming)
Samsung M30 10 Failed
Samsung F62 12 Failed
Samsung Galaxy M12 12 Failed
OnePlus 8 Pro 12 Passed
OnePlus 8 12 Passed
Oppo 10 and 12 Passed
Vivo 10 Failed
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here. For example, attach any useful logs related to the issue.
The text was updated successfully, but these errors were encountered: