setOrientationHint rotates video counterclockwise on some phones' front facing cameras (HTC)

后端 未结 1 1795
遇见更好的自我
遇见更好的自我 2020-12-31 16:03

The Problem: Certain Android devices (listed at the bottom of the question) exhibit unexpected behavior when utilizing the setOrientationHint(int degr

相关标签:
1条回答
  • 2020-12-31 16:28

    Yes, the HTC phones rotate in the wrong direction for the front facing cameras. Instead of trying to guess, I ended up adding a settings screen that would take two pictures with the second one rotating 90 degrees. Then the user could keep hitting next as I cycled through the different rotation direction and angle combinations until both pictures appeared oriented the same way.

    0 讨论(0)
提交回复
热议问题