Having problems in Android with live video size when switching landscape to portrait

Javier

Member
Hi, when I rotate my Android phone from landscape to portrait or viceversa, the live video in web player not change to the according video resolution or size.

Do you have any example on how to make video size or resolution responsive to the phone position?

thanks!
 

Max

Administrator
Staff member
Hello.
Android SDK implements WebRTC streaming. WebRTC does not allow to change picture ratio or rotate picture on the fly. Orientation can be changed for RTMP streams only, see doc here.
 
Top