Flash AS3 AIR on iOS not streaming HLS AAC - ios

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

Related

HLS AAC 5.1 audio not working on Chromecast 2 and Chromecast Ultra with firmware 1.28.100555

I am unable to play HLS video with 5.1 audio track on Chromecast 2 and Chromecat Ultra. The same files worked just fine on previous firmware releases before 1.28.100555.
In order to avoid any Objective-C programming errors all the tests I made were done using a slightly modified "CastVideos-ios" (official sample from Google Cast SDKs github).
The only modification I made is related to "media_list_1_url" in order to make the application load a custom JSON file pointing to my video sample files.
The JSON list is available at this link:
http://144.76.13.14/GoogleCastTestList.json
When I try to play the 5.1 audio track version on Chromecast 2 and Chromecast Ultra the video simply dose not load. Both of the test files play without problems on Chromecast 1.
Can someone help me find out if this is a Chromecast firmware issue or I must modify the Cast sender app code in order to play 5.1 audio files ?

how to streaming h.264 video send to WOWZA using rtsp with live555

I am new for capturing video, encoding in h.264, WOWZA server.
I have checked so many solutions on stack-overflow and google but not get perfect that I can use.
Basic functionality:
continue capturing from iPhone (Video should be in h.264 encoded)
using live555 library, generate RTSP url
send that same video to WOWZA server for live-broadcast video
Note: Video should be continuously play on server from iphone device without major delay.
My Question:
How to capture video which is encoded in h.264 format?
How to integrate live555 library to VideoCapture class for generate RTSP URL?
How to send that video to WOWZA using RTSP protocol?
For capturing video on ios am using AV Framework.
Please correct me if my way of think is wrong.
Thanks,
Punita
I have successfully compile both MobileVLCKit and Live555 library in same project.
Solution:
I have re-compile both library with same Architecture (armv7 & armv7s) and generate DynamicFramework.
And Then used into same xcode project.

How to play xiph.org audio codecs in iPhone/iOS?

I have music encoded in Vorbis format and also starded encoding some of my albums to the new Opus format. Is there a way I can copy and play them to my iPhone ? xiph.org wiki page states about vorbis support, that in the free software side, it's "work in progress", while it cites a radio stream and a video application that have Vorbis support, but what about audio support ?
To summarize the requirements:
Vorbis support
Opus support
some way to copy or make the album available
free software would be a plus, since proprietary software could be slow to adopt Opus and I could even add support for additional codecs myself by writing patches
[Edit: essential media player features required]
Playlist support, etc.
Flawless playback must be a strong guideline (for example, some players have audio decoding glitches every 5 minutes played)
http://wiki.xiph.org/Vorbis_Software_Players#iPhone
Capriccio music player for IOS supports FLAC, APE, WV, MPC, WAV, M4A, MP3, OGG, AIFF, CAF, MID, OPUS
I've used it on all my IOS devices (including iPad 2/3/Air and iPhone 4 & 6) with FLAC encoded music and never experienced audio glitches.
Open source licensing on iOS is a difficult matter. VLC for iOS plays Opus and Vorbis. But as a music player it's quite useless.
Since iOS 11 it supports native Opus streams, however you still need to encapsulate them in CAF format. For apps (and even in Safari) you might try to pass that CAF stuff with the audio/aac mimetype and should work.
Try with the afconvert available in macOS with something like this:
afconvert input.wav -f caff -d opus -b 32000 output.caf
There is a test site to try CAF in your Safari browser.
Source: https://hetzel.net/2017-06-12/ios-11-opus-support-in-podcast-feeds/

is it possible to play h264-mpegts format in ios?

Server transcodes the video to the h264/aac, and send video data to client simultaneously. To play and save the video data at the same time, I use mpegts as the container format, but the problem is that ios MediaPlayer can not play mpegts file.
Google said that i can used ios-build of ffmpeg to do the task, but it seem to be an overkill. is there any other ways to play mpegts in iphone using just iOS SDK?
i dont know much about ios but yes, you can play mp4(h264) videos in your ios device. i run my h264 video url to ios safari web browser, it detect the video and quicktime player start to play that video. so you can check this by entering video url (i.e:- http://yourserver.com/yourvideo.mp4) to your ios safari web browser.
NOTE :- your mp4 video should be of codec "h264". Use FFMPEG to convert videos in h264 codec

How to play mp4 in iOS Flex application

I'm developing a Flex application to iOS devices and I can't find a way to play mp4 video inside it...
I know it works with navigate to URL command but it's open browser and then the vieo player, which is not what I'm intending...
Thanks
If you work with audio and video streaming, one of the worst limitation of AIR 2.6 for iOS is that it is not possible to stream video encoded in H.264 (and audio in AAC) inside your AIR application. AIR 2.6 for iOS supports NetConnection and NetStream but can decode only Spark, VP6, MP3, NellyMoser and Speex formats. So no H.264 and no AAC.
I've tried play .flv video fine in flex app on iOS.

Resources