09-20-2017 01:20 AM
So I'm trying to use PreviewView to show the client's face on client's device.
But somehow the video preview is tilted.
Any idea?
Thx in advance.
09-20-2017 01:00 PM
Hi Edwin.
I'm not sure what you mean by tilted, could you please provide us with a screenshot?
Cheers,
Rach D
09-21-2017 06:40 PM
Like this
09-22-2017 06:10 AM
Thanks Edwin!
I think we've come across this issue in the past, can you confirm which device is being used on the other end?
If it's not the web client could you attempt it against web just to see if you get the same results?
Cheers,
Rach
09-24-2017 07:32 PM
Hi Rach,
I used Lenovo vibe s1.
For now, I fixed this problem by using setVideoOrientation(270).
Cheers,
Edwin
09-24-2017 10:19 PM
Hi Edwin,
Thank you for the update, glad you managed to get it working again!
Cheers,
Rach
09-24-2017 11:58 PM
Hi Rach,
But It should be on portrait view by default right?
I'm worried that if I forced the video orientation manually, it won't work on some devices.
Cheers,
Edwin
09-25-2017 12:12 AM
Hi Edwin.
There is no default per say, it's whatever the other device is sending you. In this case it seems the Lenovo device is sending the landscape video which is causing this issue. By fixing the orientation manually you then ensure all devices are sending in portrait mode so it's quite the opposite to the above
Hope that helps!
Cheers,
Rach
09-25-2017 01:04 AM
Hi Rach,
But the problem is I set the orientation using degree manually(270 degree to be exact). So when I rotate the phone to landscape the video is upside down. The documentation says that it will handle device rotation automatically.
Cheers,
Edwin
09-25-2017 02:06 AM
Hi Edwin.
Ohh, that doesn't seem to be right. Is there a possibility you can raise a ticket with TAC as this seems like it could potentially be a bug?
Cheers,
Rach
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide