No Playback when streaming an .m4a
Opened this issue · 1 comments
Hello, I can successfully stream and play a .mp3 file, but any other format (including m4a) does not work. It results in a Error: Error Domain=NSOSStatusErrorDomain Code=1954115647 "The operation couldn’t be completed. (OSStatus error 1954115647.)" in the ParseData method of the TDAudioFileStream. The OSStatus code of 1954115647 means "unsupported file format". I also tried explicitly telling TDAudioFileStream to expect an m4a by setting the FileTypeHint on AudioFileStreamOpen to kAudioFileM4AType. Unfortunately this did not work either. I would love your input on this as the framework you have setup here is impressive, and for mp3 streams flawlessly. It would be a shame to limit it to only that format. Any help would be appreciated.
I wonder if something is going on with DRM? It is a shame that this framework must have been so much work, yet only works for mp3.