Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Screen rotation before recording crashes the app #9

Open
McLaynV opened this issue Apr 3, 2022 · 0 comments
Open

Bug: Screen rotation before recording crashes the app #9

McLaynV opened this issue Apr 3, 2022 · 0 comments

Comments

@McLaynV
Copy link

McLaynV commented Apr 3, 2022

Version: 0.5.0 rc 2

System:
Android 10
Nokia 7.2
Back camera, 1920×1080, 120 FPS

Steps to reproduce:

  • Turn on the screen auto-rotation function in Android
  • Open the app and navigate to the recording screen
  • Rotate the phone to the portrait mode and wait for the app to rotate
  • Rotate the phone to the landscape mode and wait only half the time before the app rotates
  • Press the record button just before the app rotates
  • Think you are recording
  • Press the stop button
  • App crashes and returns to the camera selection screen

Probability of happening when following the steps:
I can make it in 50% cases. Timing seems to be the key. When I start recording too soon, it works without crashing. When I start recording too late, the app manages to rotate before starting recording.

The same results with
Samsung Galaxy S7
Back camera, 1280×720, 240 FPS
The only difference is that the Samsung rotates the screen faster - there is a shorter time window between device rotation and app rotation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant