Intel® Collaboration Suite for WebRTC
Community support and discussions on the Intel® Collaboration Suite for WebRTC (Intel® CS for WebRTC).

local video stream orientation bug

Vinay_P_Intel
Employee
428 Views

I am using the android client libraries (version 1.5) and the local stream is rotated 90 degrees towards the right.

The stream appears normal in the landscape layout but appears rotated in the portrait mode.

Also, the stream is actually inverted in the samples. 

For example, my left hand appears on the right and my right hand on the left.

Is this a bug or am i doing something wrong.

Screenshot_0.png

 

Vinay

0 Kudos
1 Reply
Chunbo_H_Intel1
Employee
428 Views

 

I think this issue has been solved!

There is API setDisplayOrientation in MediaStreamParameter to rotate degree(0, 90, 180, 270) like:

MediaStreamParameters msp = new MediaStreamParameters(true, true);

msp. setDisplayOrientation(90);

localStream = new Stream(msp);

0 Kudos
Reply