Highlighted

Flash AS3 AIR on iOS not streaming HLS AAC

New Here ,
Dec 10, 2014

Copy link to clipboard

Copied

This is already a nightmare for me.. I have to get this AAC working for a project and there is no other way and no alternatives..

I'm using this library https://github.com/mangui/flashls and successfully stream ACC and MP3 with M3U8.

Now I have to get it working in iOS and in iOS, there is only the MP3 stream working. AAC seems to work, as the buffer is loading etc, but there is no audio.

The AIR has H.264/AAC Playback Support for iOS since AIR 2. Source:http://www.adobe.com/devnet/articles/flashplayer-air-feature-list.html

And there are some NetStream members that are not supported, that might be the cause why audio is not playing in iOS. Source: "Support for H.264 encoded video in AIR for iOS"http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/NetStream.html

Also the guy who wrote FlashHLS responded that he does not find any problem with the log files here:https://github.com/mangui/flashls/issues/150

NOTE: I'm streaming only audio and I only need audio. Would be great if there is a audio only library that does not use stageVideo.

Here is all my testing app code: https://www.dropbox.com/s/y1t9jkv7tg1lgvy/iOS%20test%20ACC.zip?dl=0

The AAC stream: http://media.err.ee/viker/mp4:2104941.m4a/playlist.m3u8

I've tried AIR 15.0.0.356 and AIR 16.0.0.333. The iOS version is 7.1.1

Thank you!!

TOPICS
Air beta

Views

1.3K

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Flash AS3 AIR on iOS not streaming HLS AAC

New Here ,
Dec 10, 2014

Copy link to clipboard

Copied

This is already a nightmare for me.. I have to get this AAC working for a project and there is no other way and no alternatives..

I'm using this library https://github.com/mangui/flashls and successfully stream ACC and MP3 with M3U8.

Now I have to get it working in iOS and in iOS, there is only the MP3 stream working. AAC seems to work, as the buffer is loading etc, but there is no audio.

The AIR has H.264/AAC Playback Support for iOS since AIR 2. Source:http://www.adobe.com/devnet/articles/flashplayer-air-feature-list.html

And there are some NetStream members that are not supported, that might be the cause why audio is not playing in iOS. Source: "Support for H.264 encoded video in AIR for iOS"http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/NetStream.html

Also the guy who wrote FlashHLS responded that he does not find any problem with the log files here:https://github.com/mangui/flashls/issues/150

NOTE: I'm streaming only audio and I only need audio. Would be great if there is a audio only library that does not use stageVideo.

Here is all my testing app code: https://www.dropbox.com/s/y1t9jkv7tg1lgvy/iOS%20test%20ACC.zip?dl=0

The AAC stream: http://media.err.ee/viker/mp4:2104941.m4a/playlist.m3u8

I've tried AIR 15.0.0.356 and AIR 16.0.0.333. The iOS version is 7.1.1

Thank you!!

TOPICS
Air beta

Views

1.3K

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Dec 10, 2014 0
Explorer ,
Dec 12, 2014

Copy link to clipboard

Copied

It's been more than two years since I last had to play AAC audio in a mobile App, but back then using StageVideo in iOS was a requirement in order to be able to play audio using that codec.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Dec 12, 2014 0
New Here ,
Dec 12, 2014

Copy link to clipboard

Copied

And did you succeed? And why is it now not working? Was your AAC run from local files or did you use streaming?

Right now, it seems that the NetStream is to be blamed...

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Dec 12, 2014 0
Explorer ,
Dec 14, 2014

Copy link to clipboard

Copied

Yes, it worked for me, but I played local files. Also, for playing them even if local, NetStream is also needed. I've read about people having problems playing HLS in iOS because of the exact AAC format used or because of Apple policies regarding bandwidth consumption, but I cannot tell for your case in particular.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Dec 14, 2014 0
New Here ,
Dec 14, 2014

Copy link to clipboard

Copied

The stream worked in iOS browser player, so I suspect that the ACC is still good. It's streming from Wowza

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Dec 14, 2014 0
Explorer ,
Dec 14, 2014

Copy link to clipboard

Copied

Googling around it seems AIR should play HLS streams in iOS, but again, I don't know about this exact case, this one could be unsupported. I guess the official reply would be "you should open a bug report pointing to this thread", not 100% useful, but who knows. I've asked around, hopefully a better reply will pop up.

Also, maybe an ANE with the bare minimum features needed could be developed and used for the iOS case.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Dec 14, 2014 0