Closed adorufus closed 4 years ago
I have the same problem, rtmp stream comes as landscape though original position is portrait
@adminant hi, if you know how to fix this please let me know
@adorufus Sorry, I don't know, I hope @pinkfish will fix this issue. @pinkfish , could you help us?
It is do with the how the media encoder is encoding things. I had it around the other orientation to start with and it fails in the capture part. Right now it is putting in a hint on the encoder for the rotation which should be working, although I also noticed it wasn't.
On Thu, 28 May 2020 at 05:17, adminant notifications@github.com wrote:
@adorufus https://github.com/adorufus Sorry, I don't know, I hope @pinkfish https://github.com/pinkfish will fix this issue. @pinkfish https://github.com/pinkfish , could you help us?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/pinkfish/flutter_rtmppublisher/issues/8#issuecomment-635302586, or unsubscribe https://github.com/notifications/unsubscribe-auth/AATOMMM6YJEUHMFMJQTYWIDRTZI53ANCNFSM4NG4OKAA .
Just checking in a fix, or a workaround anyway. If you useOpenGL in the arguments when creating the stream it will make an opengl surface and this will rotate the output to be portait mode.
The 0.2.0 version should fix this (is you use opengl anyway).
@pinkfish sorry, but the playback view is so small (squared), can you help?
and when i start the video streaming. i got error message that says "cannot use a surface that wasn't configured". i hope you can help me @pinkfish
hi, i have wrong orientation issue on android side. i have recorded on portrait position and the output result is landscape. can you help me how to fix this?