Skip to content

[Bug]: How to rorate orientation when streaming #78

@dunghacknicktao

Description

@dunghacknicktao

Version

v1.2.0

Which operating systems have you used?

  • Android
  • iOS

Environment that reproduces the issue

Both

Is it reproducible in the example application?

Not tested

RTMP Server

my local

Reproduction steps

  1. init and start startStreaming
  2. Rotate the phone from portrait to landscape or vice versa

Expected result

The frame changes according to the device's rotation direction

Actual result

In live stream video result, the frame does not change at all, there is even a slight pause when the phone direction is changed

Additional context

Hello,

During the process of rotating the device from portrait to landscape, or landscape to portrait, the transmission to the system begins; the image doesn't change according to my rotation direction.

If I rotate the device before setting up and starting the streaming session, the frame image flows back to the server with the original orientation

I tried stopping and restarting the streaming session at rotation time, but it crashed my app and the image remained the same.
Please help me with a solution to do this device rotation during streaming!

Thanks

Relevant logs output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions