Skip to content

[Bug]: Client Live Aspect Ratio Streaming not correct! #106

@hamedpsa

Description

@hamedpsa

Version

v2.0.2

Which operating systems have you used?

  • Android
  • iOS

Environment that reproduces the issue

all android platform

Is it reproducible in the example application?

Yes

RTMP Server

api.video

Reproduction steps

    video={{
      fps: 30,
      // resolution: '720p', // Alternatively, you can specify the resolution in pixels: { width: 1280, height: 720 }
      resolution: {width: 720, height: 1280},
      bitrate: 2 * 1024 * 1024, // # 2 Mbps
      gopDuration: 1, // 1 second
    }}

Expected result

in android devices or simulators platform, the live ratio of camera is portrate with above config or even for

Image

default confing, but the video recieved ratio from rtmp server is landscape and horizontal streching

Actual result

Image

Additional context

No response

Relevant logs output

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