-
Notifications
You must be signed in to change notification settings - Fork 464
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OVP 2.22.0 - Changing orientation on iPhones behaves weirdly and unpredictably #752
Comments
@cruizba |
How can we reproduce the error? |
@micaelgallego |
Are you using Kurento or mediasoup media server? |
We upgraded OpenVidu Professional from 2.17.0 to 2.22.0. So, we still use Kurento media server internally and not mediasoup. |
|
Sorry wrong issue. Reopening again... |
Describe the bug
We have a use-case wherein user can change the orientation of his mobile phone while live streaming. Due to discrepancies in Android and iPhones, we handle orientation change in different ways. For Android devices, when orientation is changed, we do not do anything and the live stream works properly without any issues, but iPhones do not support this behaviour and black out the screen when the orientation is changed and video is not recorded. To handle this, we first stop the video and then create a new live stream wherein we unpublish the previous stream and release the camera and again obtain the camera and publish the stream, which works fine in existing OVP 2.17.0. But since the time we upgraded it to OVP 2.22.0 it is creating issues for iPhone, where after orientation change:
We have already raised a bug related to switching camera on OVP 2.22.0. Link for the bug is #751
This might be related to switching camera issue.
Expected behavior
When orientation is changed, stream should be stopped, camera should be released and then again obtain the camera and start a new stream.
Wrong current behavior
OpenVidu tutorial where to replicate the error
This is an EXTREMELY IMPORTANT STEP. If we are able to replicate the error in any of the official OpenVidu Tutorials or OpenVidu Demos, then we will be able to quickly fix it. If you are getting the error in your own application, please try to add the necessary changes to the most similar tutorial so it fails with the same error (try to keep those changes as contained as possible, so that the original tutorial maintains its integrity). Once you have an application to replicate the error, explain in detail the steps to get it like this:
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)
iPhones
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: