Frequently Asked Questions
Phone Goes Into Sleep Mode and Disconnects
QUESTION:
When I stream for a little while and don’t touch my phone it goes into sleep mode which disconnects the stream and shuts down the application. How can I get my phone to stay on?
ANSWER:
You will need to change the phone settings as this is a behavior of the phone itself, rather than the software of Red5 Pro. For more on how to do that programmatically, please see the following documentation:
For Android:
https://developer.android.com/training/scheduling/wakelock.html
For iOS:
http://pinkstone.co.uk/how-to-prevent-the-screen-from-sleeping-in-ios/