Community
cancel
Showing results for 
Search instead for 
Did you mean: 
winsey_l_
Beginner
44 Views

[INDE Media for Mobile - android] Incorrect video orientation if using front camera with portrait activity

Hello,

I am currently using the SDK of Intel INDE Media for Mobile (https://github.com/INDExOS/media-for-mobile) in my Android application project.

It works fine in landscape after embedded in my android project. But, since my application requires to stream live video in portrait, I update the activity orientation to portrait. It works fine with the back camera. But when it switches to use the front camera, the live video streamed to server would be upside down.

I tried to solved this issue by calling setOrientation(180) on preview object. But it would also affect the capture object and the preview would be upside down while the live video becoming correct.

Please advice. Thank you very much.

Best Regards,
WS Li

0 Kudos
2 Replies
44 Views

Hi Winsey,

Thank you for bring this issue to our attention. This issue is due to Media for mobile android library and is one of the known issues causing live video streaming to server vertically flipped. This is known bug. I will get back once we have any updates soon. I have also emailed you on this issue. Please reply directly to the email, if any further questions.

Thanks, 

 

Jonathan_P_1
Beginner
44 Views

Hi,

I'm facing the same problem than Winsey: when recording with the front camera, the preview is in the good orientation but when I watch the recorded video, the image is vertically flipped. Have you found any solution since last time?

Thanks for your help,

Jonathan

Reply