Summary
I have some M4A files that AudioPlayer reports in log as 🕵️ detected an non-optimized mp4, while the file playback starts fine but towards the end of playback, it stops with the following error;
streamParseBytesFailure(It is not possible to produce output packets because the streamed audio file's packet table or other defining information is not present or appears after the audio data.)
Note that the files involved aren't corrupt as it can be played in AVAudioPlayer just fine, so it is likely the way AudioPlayer tries to correct/restructure it via performMp4Restructure, may be the file doesn't actually need restructuring?
I can provide the file to test it out in case it helps.
I'm not sure if this is related to #97.