You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
Clickscale, to my memory, is the scaling of coordinates for clicking, versus the scale to turn the raw video into coordinates for on screen display. I agree "clickscale" is really confusing.
nanoscopic
changed the title
broken clicks on landscape layout
Video rotation is not handled
Aug 11, 2023
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?
The text was updated successfully, but these errors were encountered: