After switching to portrait mode for streaming, the screen size became 1280×720, causing the playback screen to become a landscape format. #398
Unanswered
17680156321
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Question
In the Android environment, I set the screen to portrait mode, but when the push notification was sent, I found that the screen resolution was 1280×720. This resulted in the portrait-mode video being displayed as a horizontally cropped image on the receiving end.。 mixer = MediaMixer(context).apply {
screen.frame.set(0, 0, 1080, 1920)
registerOutput(rtmpStream!!)
screen.frame.set(0, 0, 1080, 1920)
Background / Tried Steps
No response
Environment
No response
Beta Was this translation helpful? Give feedback.
All reactions