Intel® Collaboration Suite for WebRTC
Community support and discussions on the Intel® Collaboration Suite for WebRTC (Intel® CS for WebRTC).
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

local video stream orientation bug

Vinay_P_Intel
Employee
732 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
732 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