My app has applied for the permission to play audio and video in the background, but I found that it survived for a long time without hanging when the audio and video were not played in the background. I want to locate the cause, is there any good way?