Introduction
You have built your own Android app using FCSDK but the local video stream that is sent out is rotated 90. Nothing is done in the app to handle rotation and the docs say that the FCSDK assumes the device is in portrait mode, which it is.
Problem
The docs and the training rely on the constants Surface.ROTATION_0, 90, 180 and 270 being passed in to the setOrientation method. This is incorrect. The setOrientation method actually wants the integer values of 0, 90, 180 and 270.
So 'phone.setVideoOrientation(Surface.ROTATION_90);' needs to be: 'phone.setVideoOrientation(90);'
Resolution
Use phone.setVideoOrientation(90);
Comments are disabled on these articles, if you require help Contact Support.
Comments
0 comments
Article is closed for comments.