Does MobileVLCKit support adts aac stream?

iOS, iPad, iPhone, tvOS specific usage questions
vampirewalk
New Cone
New Cone
Posts: 3
Joined: 23 Apr 2015 12:21

Does MobileVLCKit support adts aac stream?

Postby vampirewalk » 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.

fkuehne
Developer
Developer
Posts: 7264
Joined: 16 Mar 2004 19:37
VLC version: 0.4.6 - present
Operating System: Darwin
Location: Germany
Contact:

Re: Does MobileVLCKit support adts aac stream?

Postby fkuehne » 23 Apr 2015 16:52

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?
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

vampirewalk
New Cone
New Cone
Posts: 3
Joined: 23 Apr 2015 12:21

Re: Does MobileVLCKit support adts aac stream?

Postby vampirewalk » 24 Apr 2015 05:38

Sure! Here is the raw data recorded by VLC player.
https://drive.google.com/file/d/0B3K4EZ ... sp=sharing

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Does MobileVLCKit support adts aac stream?

Postby Jean-Baptiste Kempf » 27 Apr 2015 22:17

File a bugreport.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “VLC for iOS, iPadOS and Apple TV”

Who is online

Users browsing this forum: No registered users and 15 guests