Skip to content

[Bug]: FIT scale mode does not work correctly #288

@tukez

Description

@tukez

Version

3.1.2

Environment that reproduces the issue

OnePlus 12

RTMP/SRT/... Server

SRT

Audio configuration

No response

Video configuration

  • H.264
  • 1280x720

Is it reproducible in the demos application?

Yes

Reproduction steps

Change the scale mode in the StreamPack boilerplate app to FIT and start streaming.

Expected result

The image on the phone is with black bars on top and bottom.

Actual result

Image on the phone is fullscreen and cropped of left/right compared to the stream.

Phone:
Image

Stream:
Image

Additional context

No response

Relevant logs output

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions