Rotate video stream when rotate the android phone

I want to have my activity to be able to rotate when user rotates the phone. However, in the remoteParticipant side, i want the participants to see the video in normal orientation even if i have rotated my phone 90*. Is that possible with WebRTC?

Usually the system manages the rotation of the camera ok. At least on browsers. You can test this for example on OpenVidu Call application: OpenviduCall
If you connect to it using Chrome Mobile browser and rotate the phone, on the other end you will see that the video feed arrives just ok.

You are right. When the user rotates the phone, Camera seems to handle the rotation of the stream. My problem was that i had the CallActivity locked on “portrait” orientation mode