I download a video from an HLS stream, but sometimes I get this error, and then the sound crashes:
ERROR: 849: AudioQueue: request to trim 4294723408 + 0 = 4294723408 frames from buffer containing 21504 frames
Is there a way to catch this error so that I can at least try to reload the stream or take some other measures?
source share