I have a MediaPlayer running in a Service that's playing audio from a URL (streaming). As of now it appears to work well, and even continues playing when I put the phone in standby.
I currently do not acquire a wakelock. My question is:
- Is it actually necessary to acquire a wakelock in my situation?
- If it is necessary, what type of wakelock should I acquire?
And yes, this is a legitimate use-case for wakelock, because my users explicitly want the audio to continue playing.