Open Amlana opened 9 years ago
Depends on the device. For example nexus 6 with 5.1 has a known issue on the front cam being upside down: http://forum.xda-developers.com/nexus-6/help/facing-camera-upside-inverted-t2953530
I am also getting the rotated stream on wowza .I have adjusted the orientation by detecting the display rotation on the device ,preview is correct on device but its giving rotated wowza stream.Any one having any clue?
Most devices that I tested against (30+) do not present this issue. For anyone that has this issue, please post device name and android OS so that others can plan around faulty devices.
Moto G with Lolipop OS is one of such device.
I am creating the session with these configuration. mSession = SessionBuilder.getInstance() .setCallback(this) .setSurfaceView(mSurfaceView) .setPreviewOrientation(90) .setContext(getApplicationContext()) .setAudioEncoder(SessionBuilder.AUDIO_NONE) .setAudioQuality(new AudioQuality(16000, 32000)) .setVideoEncoder(SessionBuilder.VIDEO_H264) .setVideoQuality(new VideoQuality(640,480,30,500000)) .build(); I can see the preview properly but in the browser its rotated. How can set the proper orientation