Rotating devices (Smartphones) #1590
Replies: 2 comments 1 reply
-
I misread the question earlier - are you using OvenLiveKit for WebRTC transmission? And what kind of smartphone / OS? I have not seen this issue on iPhone, for instance - it properly pads the aspect ratio when the device is rotated. |
Beta Was this translation helpful? Give feedback.
-
Hi bchah, I have tried an iPad a few minutes ago and in my config the behavior is the same. Smartphone -> OvenLiveKit as WebRTC Input -> OME Server (bypass) . So even the result looks a little bit mixed when using bypass in this "Source-Rotation-Scenario", the result is always distorted when using transcoding in OME. And because of the MediaConstraints... |
Beta Was this translation helpful? Give feedback.
-
Hi together,
at the moment i am trying to get this scenario to work:
Smartphone -> OvenPlayer as WebRTC Input -> OME Server -> LLHLS Output
It works great except of one important scenario:
If the user starts streaming on the smartphone the resolution/aspect ratio (portrait) is used for the conversion in OME.
But now the user thinks "oh rotationg the device is a good idea".
Result:
If transcoding in ome is used, the aspect ratio stayes on portrait even if the input is now landscape, so the picture is distorted.
If transcoding is off and bypass is used the aspect ratio is changing properly... but some playing devices looking the LLHLS stream arent fine with this and the player crashes/stops playing on this change.
So i think the best solution would be that ome is converting the input stream to the target resolution (1280x720 for example) while putting black bars to it when the aspect ratio of the input dont match (like it does at the moment) but keeping this dynamic for acpect ratio changes from the input...
Im not sure if there is any solution at the moment that i can reach with configchanges...?
Would be great if someone has an idea.
Beta Was this translation helpful? Give feedback.
All reactions