Skip to content

Video rotation is not handled #120

@KostyaSha

Description

@KostyaSha

Just in case somebody already solved and can share while i'm debugging this thing.
When ios runs it has 0' orientation in portrait mode, as soon as it runs landscape app image in browser is rotated and looks correct, but clicks are messed. Also ui doesn't highlight landscape mode and info->orientation is not changed. That happens because of missing device.change -> rotation event. As soon as it added rotate button highlights and work fine, but image is double rotated and still miss-clicked. I guess there is nuance on how at all images should be streamed into browser with websocket. avfoundation changes width and height according to layout, i guess android send always the same size, but with the note of rotation.
As experiment i enforced ivf_pull to produce sticky image layout (rotated with 270' when width > height and swapped width-height values). But clicks are still 90' degree wrong.

I also don't see any updates from backend into UI about scale.
@nanoscopic do you remember in what state did you end this part? Did it work ever? What is clickscale? Maybe you can share some knowledge on how STF web processes this part?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions