Does MobileVLCKit support adts aac stream?
Posted: 23 Apr 2015 13:08
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.
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.