Skip to main content
Participant
December 10, 2014
질문

Flash AS3 AIR on iOS not streaming HLS AAC

  • December 10, 2014
  • 1 답변
  • 1750 조회

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!!

이 주제는 답변이 닫혔습니다.

1 답변

Inspiring
December 12, 2014

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.

Participant
December 12, 2014

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...

Inspiring
December 14, 2014

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.