apivideo / api.video-reactnative-live-stream

React Native RTMP live stream client. Made with ♥ by api.video
https://api.video
MIT License
181 stars 33 forks source link

[Bug]: Video is vertically stretching on android #93

Open talhatsk opened 1 month ago

talhatsk commented 1 month ago

Version

v2.0.0

Which operating systems have you used?

Environment that reproduces the issue

the video is being vertically stretch in if the resolution is in 16:9 ratio like 854*480. The issue is only reproducible on devices that can record 8k, like Xiamo 14 Ultra, Samsung s23/s24 ultra. The stretch is being faced on social destination (facebook,youtube)

Screenshot 2024-10-14 at 11 35 46 AM

Is it reproducible in the example application?

Yes

RTMP Server

*

Reproduction steps

  1. Set any 854*480 resolution
  2. start streaming
  3. check on the social destination

Expected result

The streaming video shouldn't stretch vertically in 16:9 resolution

Actual result

The streaming video is stretching vertically in 16:9 resolution

Additional context

No response

Relevant logs output

No response

ThibaultBee commented 1 month ago

Hi,

Does it happen with other resolutions? It seems really weird that it only happens on 8k devices. Unfortunately, I don't have such a phone, so it will be difficult to reproduce.