What is the expected result?
The video should not rotate on it owns.
What do you see instead?
Video changes orientation for a sec and come backs to normal even if the device is stationary
What version of the product are you using? On what operating system?
Git commit #12635 and Android 4.x,5.x, 6,x
Please provide any additional information below.
I have tried the following options as suggested in below links:
1. Issue 4664
setting enable_cpu_overuse_detection to false in webrtcvideoengine2.cc.
2. http://stackoverflow.com/a/32451969
setting the above boolean through mediaconstraints: googCpuOveruseDetection
FYI, the local video is good without rotation on both receiver and originator. The rotation happens on the remote video on the receiver side only.
Well, the issue is not reproducible in AppRTCDemo.
I modified the AppRTCDemo as per my SDK implementation which I am developing.
// initialized in SDK
localRender = new SurfaceViewRenderer(this);
remoteRender = new SurfaceViewRenderer(this);
// In AppRTCDemo
View mLocalView = localRender; // getting from SDK
View mRemoteView = remoteRender; // getting from SDK
localRenderLayout = (PercentFrameLayout) findViewById(R.id.local_video_layout);
localRenderLayout.addView(mLocalView);
remoteRenderLayout = (PercentFrameLayout) findViewById(R.id.remote_video_layout);
remoteRenderLayout.addView(mRemoteView);
and in updateVideoView() commenting out few properties:
// in SDK
//remoteRender.setScalingType(scalingType);
//remoteRender.setMirror(false);
//localRender.setScalingType(ScalingType.SCALE_ASPECT_FIT);
//localRender.setMirror(true);
Can you suggest where should I start looking for the video rotation? We have TAS in between the Peers.
Thanks
Have you checked your CSS?
Best Regards,
Silvia.
--
---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/bcf8b535-9e93-4e1f-a47c-8b9757bbb1f2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/75ef49cb-ad5f-4bdf-9322-a4ad95c5dfe2%40googlegroups.com.
Ohh:)