Page 1 of 1

Does MobileVLCKit support adts aac stream?

Posted: 23 Apr 2015 13:08
by vampirewalk
I'm developing an audio player iOS app.

Objective
Reads m4a file bought from iTunes Store via AVAssetReader. Stream via HTTP and consumed by MobileVLCKit.

As far as I know, AVAssetReader only generates audio raw data without header, so I add ADTS header in front of every sample.
I also set "audio/aac-adts" as ContentType in HTTP response header.
Now I can play it with VLC and Chrome browser on my Mac OSX, but it doesn't work on iOS with MobileVLCKit.
I have no idea what's the problem.
I downloaded MobileVLCKit from http://nightlies.videolan.org/build/ios ... 6-0541.zip.

Re: Does MobileVLCKit support adts aac stream?

Posted: 23 Apr 2015 16:52
by fkuehne
That's weird indeed. Everything that's supported by VLC on Mac should be supported by MobileVLCKit. Can you dump a raw sample of your stream so we can see what's going on?

Re: Does MobileVLCKit support adts aac stream?

Posted: 24 Apr 2015 05:38
by vampirewalk
Sure! Here is the raw data recorded by VLC player.
https://drive.google.com/file/d/0B3K4EZ ... sp=sharing

Re: Does MobileVLCKit support adts aac stream?

Posted: 27 Apr 2015 22:17
by Jean-Baptiste Kempf
File a bugreport.