openvidu-tutorials icon indicating copy to clipboard operation
openvidu-tutorials copied to clipboard

When I set SessionActivity's ScreenOrientation to landscape, I can't see localVideoView

Open mutoude opened this issue 4 years ago • 11 comments

mutoude avatar Mar 11 '20 03:03 mutoude

In which tutorial?

micaelgallego avatar Mar 11 '20 13:03 micaelgallego

Andoid

mutoude avatar Mar 12 '20 09:03 mutoude

Just wondering if there are any updates? It occurs using a fresh download of the openvidu-android example code. To trigger the issue, change "setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);" in SessionActivity.java to "setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);"

https://stackoverflow.com/questions/64069183/android-webrtc-surfaceviewrenderer-preview-goes-blank-when-i-start-the-activity seems to suggest its WebRTC related, but as it occurs in the demo code, users will see it here first.

matkey avatar Mar 02 '21 13:03 matkey

FYI If I force the code in createCameraCapturer to use Camera1Enumerator then portrait mode works

matkey avatar Mar 02 '21 13:03 matkey

Faced the same issue, any new findings?

daniel-reinhold avatar Sep 29 '21 11:09 daniel-reinhold

facing the same issue. any updates?

drunkendaddy avatar Jan 08 '22 21:01 drunkendaddy

The OpenVidu Android tutorial is a basic application implemented with demo proposes.

If you find any issue with it, please contribute the fixes and we will include them in the application.

Best regards

micaelgallego avatar Jan 10 '22 08:01 micaelgallego

facing the same issue, any progress?

anyan131 avatar May 09 '23 01:05 anyan131

Faced the same issue, any new findings?

0000005 avatar Aug 24 '23 06:08 0000005

I also encountered the same situation, changing the page to landscape display when the camera picture will not show, my solution is to unify 'EglBaseContext', which is a global context, such changes are effective.

fuzz1 avatar Nov 08 '23 03:11 fuzz1

I also encountered the same situation, changing the page to landscape display when the camera picture will not show, my solution is to unify 'EglBaseContext', which is a global context, such changes are effective.

How to do it?

liujiujin2006 avatar Nov 23 '23 15:11 liujiujin2006