OfficeDev / skype-android-app-sdk-samples

This repo contains Android samples powered by the Microsoft Skype for Business App SDK. Samples developed using Android Studio
MIT License
51 stars 52 forks source link

Rotate Camera Preview #62

Open AubertK opened 6 years ago

AubertK commented 6 years ago

Hi,

I want to access to the camera used by the sfb sdk. I try to integrate sdk in a custom hardware, so I have to rotate the camera preview for the image to be the right way. Right the preview is turned 90 degrees and I can't rotate it. I see that there is the RealCameraImpl object that has the setDisplayRotation function. Unfortunatly I can only get a CameraImpl object that doesn't have this function. Do you know of a way to access it ?

Thanks,

sachen commented 5 years ago

Have you found a solution? It seems one has no control of the orientation of the outgoing video itself. Even you can fix the self preview, the remote user still see the video side way or upside down depending on your devices orientation.