AudioStreaming icon indicating copy to clipboard operation
AudioStreaming copied to clipboard

can't play non-optimized remote M4A

Open vegetalu opened this issue 1 year ago • 1 comments

https://mcdn.podbean.com/mf/web/khh8azvsc8bedf9a/Boomers_Know_Stuff_Part_1_2378b1ju.m4a can't play this file with v1.2.0

vegetalu avatar Apr 26 '24 08:04 vegetalu

Thanks for raising this, will have a look

dimitris-c avatar Apr 26 '24 09:04 dimitris-c

There's seems to be an issue with this audio file and AudioFileStreamParseBytes doesn't produce kAudioFileStreamProperty_ReadyToProducePackets which is required to be called by Audio File Stream Services in order to start play the audio packets. What's interesting it's that doesn't even work when running ffmpeg's qt-faststart (which optimises the audio file). We've hit a dead end as this would require to provide our own decoding mechanism which is out of scope for this library.

dimitris-c avatar May 09 '24 10:05 dimitris-c