Video sleeps in the middle of a recording
Summary
When recording a video in the mobile app, the device may go to sleep in the middle of recording.
Steps to reproduce
Using the mobile app, launch the activity post composer and post a new video recording. Start recording and let the recording run for longer than the device's screen sleep timeout .
Platform information
iPhone app, iPhone 12 Mini, iOS 15.3.1
I believe Tanya also confirmed this behavior on Android.
What is the current bug behavior?
On iPhone:
- The screen goes to sleep and the user can't see what they're recording.
On Android:
- The screen goes to sleep and the recording is stopped.
What is the expected correct behavior?
The screen should not go to sleep while the app is recording.
Possible fixes
Prevent the device from going to sleep while the camera is open.
Edited by (Mark) Ryan Sallee