Playing HLS stream using OSMF in Air for IOS

Is there any sample app (source) that shows how to play HLS streams using AIR for IOS, that the OSMF team can make available?
I am running into issues trying to get this to work as outlined here. http://forums.adobe.com/message/4013821#4013821
TIA,
- Abey

Thanks to everyone who replied.
The conclusiver answer is that there are only 2 ways to display H264 video in AIR for IOS
(more info here http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/NetStream.htm l#play%28%29)
1. Progressive download
2. HLS format (slight caveat, in my tests at least, OSMF 1.6.1 does'nt handle this, but if you use the NetStream directly with StageVideo enabled it works)
Updated Matrix is :
FMS 4.5 H.264 Streaming test matrix
RTMP
HDS
HLS
HTTP Progressive Download
AIR for Android
Yes
Yes
No
Yes
AIR on Windows (Desktop)
Yes
Yes
No
Yes
AIR on IOS
No
No
Yes
Yes
Safari Browser on IOS
No
No
Yes
No

Similar Messages

  • Using Google Play Developer License RSA code with Air for Android App?

    What is the procedure for using Google Play Developer's provided license code (Base64-encoded RSA public key to include in your binary) for an Air for Android app in Flash?
    I see the need to load a p12 file and have gone through the process of creating one for Air for iOS with OpenSSL but the Google provided key is in a different format. To start with it is delivered by copy/paste off a webpage.
    I am using Flash CS5.5. I could switch to CS6 if neccesary.
    Thanks

    Follow this link, see post number 12.
    http://forums.adobe.com/thread/1115438

  • Anyone worked with encrypted HLS streams in OSMF?

    Hi,
    I'm trying to find anyone that might have had experience working with an enrypted HLS stream in OSMF.
    I've been using the library at http://code.google.com/p/apple-http-osmf/ and managed to get this working with a non-encrypted stream.
    Also if anyone has any in depth knowledge of the HTTPNetStream and HTTPStreamSource classes it would be helpful to get in touch with you also.
    Many thanks.
    Mat

    Hi,
    I hate to disappoint you but I spent maybe 4 weeks trying to solve this problem without coming up with an ideal solution. In the end we concluded that this isn't really a viable solution for the product we were trying to develop. If you like I can tell you some of the things that I discovered but I really wouldn't recommend it based on our experiences.
    Mat

  • How do I put an external display to sleep when I am using my MacBook Air for presentation?

    How do I put an external display to sleep when I am using my MacBook Air for presentation? I do not want to go to the projector just to turn it off and turn on again after a while? Is there a keyboard shortcut for that?

    I want to be able to sleep the external display and at the same time do things in the MacBook.( This feature is useful for me so that I can prepare some things and so that my audience will not see what I am about to show them.)
    Is there a feature for Mountain Lion?

  • Can I use macbook air for ios app development?

    I would like to know if i can use macbook air for ios app development or macbook pro is only option?

    Just to reinforce what shldr2thewheel says - be very sure what size memory you want if you get a Macbook Air. There is *no* way to change after purchase. My advice is to go for the 4GB option - especially if you want to do app development.
    The internal storage (solid state drive) of the Air can be upgraded if required but it will probably be an expensive option. If you don't think the storage will be enough then maybe using a USB connected drive to hold non-essential files is an option.
    As to deciding between the Air and Pro you are basically making a decision between portability (Air) and expandability/bigger screens (Pro). What is more important to you?
    Mark

  • How to embed and launch ipa file from another ipa package created using Air for iOS

    Hi Guys,
    Anybody out there knowing how to embed and launch ipa file from another ipa package created using Air for iOS ?
    I am having 1 ipa file created using Xcode, Now i need to include that file in my ipa Package which is created using Flash CS 5.5 and Air for iOS. Also i need to know how to open my 1st ipa file from AS3 ?
    Thanks,

    Hi Sir,
    Thanks for your reply.
    But in that case user need to download 2 applications right. I need user to download my parent application created using Flash and that package contain one more ipa created using Xcode, so from my parent app only user should able to open my 2nd app. Is there any way to do that?
    Ps:  I am not talking about in-app but 2 individual apps inside one package.

  • Can you play/view swf files on adobe air for android?

    Hi, yes; I'm new here, as well as to Adobe Air, and I'm still trying to learn the ropes around here, and I apologize in advance if this has already been asked, or I have placed this question in the wrong forum.
    The thing is, I was wondering if it was possible to play my SWF files via adobe air for android; and if so, how? Thanks in advance either way.

    Can you please give directions where can i clear that cash.
    Anyway i don`t think its the case, because this is first time i hooked phone to internet, and first time i launched Android app store.
    Edit:
    I went to https://market.android.com and there is Adobe air app. But when i try to download it says that my device doesn't support it (Samsung Galaxy GT-I5500) By default it comes with android 2.1 and doesn't support Adobe air, but i upgraded firmware to 2.2.
    Maybe that is the reason it doesn't show me Adobe AIR in app store - based on my phone, not my Android version ?

  • AIR for iOS: Severe performance drop using "high resolution" published app on retina iPhone

    I have created a very simple test app the simply draws a line from the previous to the current mouse/touch position after MOUSE_MOVE is detected. I published the app, stage size 320x480, in both "standard" and "high" resolution using AIR for iOS and added each to two different iPhones, iPhone 3GS and iPhone 4S. I published again, stage size 640x960 in standard and high resolution and placed on both phones.
    320x640 Flash stage size
    - standard resolution on iPhone 3GS: works as expected, no hitches.
    - high resolution on iPhone 3GS: works as expected
    - standard resolution on iPhone 4S: works as expected
    - high resolution on iPhone 4S: hangs occasionally and predictably for a half second or so once 20-30 points have been added to the drawing. Of the 4 tests at 320x640 this is the only one that displays at high res.
    640x960 Flash stage size
    Everything was the same as above. The only test here that diplayed at high res was the high res publish on the iphone 4s as expected. Which showed the same poor performace as above.
    Perhaps this has something to do with the upscaled application trying to keep track of mouse position but I'm stumped. Any ideas?

    I create an app for kids that draws using MOUSE_MOVE, KidFunKit. It's a retina display high-res app, using AIR 2.6 I got performing issues, after I couple of lines were drawn. Using AIR 3.0, it works nice. Obviously if your frame rate is 60 ... you'll expect lack of performance. You may try Starling Framework based on STAGE3D if you want the most of AS3.

  • H264 on AIR for iOS using NetStream.appendBytes()

    Does anybody here know if Adobe has plans to support NetStream.appendBytes() for h264 video in future releases of AIR for iOS?
    If so, will hardware decoding for h264 video be supported (via StageVideo) when using NetStream.appendBytes() ?
    Any info would be greatly appreciated...

    Feature request for this issue: Feature#3844755 - [New_Feature_Requirement] NetStream.appendBytes() for H.264 (MP4) videos

  • Unicode characters appear as      (boxes) in AIR for IOS

    I am developing an application for iPhone and it has an input Text box. (Placed on stage from flash CS6). In the Desktop emulator everything works fine. But, on the actual phone, everything I type appears as       . But surprisingly, when I am inputting the text, (i.e. the textbox is in edit mode) the characters are displayed correctly. But as soon as I leave the box it appears as       . Is there someway I can display the text the same way it is displayed during the edit mode?
    I am trying to input Devanagari देवनागरी characters.
    P.S. I did some research on this and found that, if I specify the  font for the textbox = "DevanagariSangamMN" then there is some improvement.
    I say improvement becasue althought the boxes       are replaced by actual characters , they aren't correctly formated.
    For e.g. during edit mode the text appears as this: कार्यकर्ता
    But as soon as I leave the textbox it appears as this: कार्यकर्ता (I typed this here by adding special unicode characters ZWNJ so that characters won't join)
    Anyway, I don't like the idea of having to specify font names? What If some user would like to input chinese, how would I know what chinese font to use?
    Isn't there some way to let IOS handle things, (just like how it handles things when I am inputing text).
    Thanks.

    Thanks to everyone who replied.
    The conclusiver answer is that there are only 2 ways to display H264 video in AIR for IOS
    (more info here http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/NetStream.htm l#play%28%29)
    1. Progressive download
    2. HLS format (slight caveat, in my tests at least, OSMF 1.6.1 does'nt handle this, but if you use the NetStream directly with StageVideo enabled it works)
    Updated Matrix is :
    FMS 4.5 H.264 Streaming test matrix
    RTMP
    HDS
    HLS
    HTTP Progressive Download
    AIR for Android
    Yes
    Yes
    No
    Yes
    AIR on Windows (Desktop)
    Yes
    Yes
    No
    Yes
    AIR on IOS
    No
    No
    Yes
    Yes
    Safari Browser on IOS
    No
    No
    Yes
    No

  • Playback AAXS DRM'd content in AIR for iOS

    Is it possible to playback Adobe Access DRM'd content in an AIR for iOS app?
    I see references for using the AAXS Objective-C API in native iOS apps, but do not see any resources for  doing the same in Air for iOS apps.
    If this is possible, are there any references.docs that show how to go about it ?
    Thanks,
    - abey

    Thanks for the reply.
    If you don't mind I had two follow ups
    1. Is it on the roadmap for the future to support this on AIR for iOS, or is that simply not going to happen?
    2. Would creating an AIR Native Extension that handles the AAXS Object-C API (for the DRM related part)....work in theory to play back DRM'd HLS content in AIR ?
    - Abey

  • AIR for iOS app works perfectly in emulator, not at all on an actual iPad

    I'm new to mobile development, so I'm hoping I am doing some simple wrong, like a wrong checked box or something.
    I have an app that I have written for iPad. It's fully functioning when I run it through the emulator (I have to change it to Flash 10.1 and use Device Emulator because nothing else will accept touch events) but doesn't really work on the iPad. Some of the features work, and some don't. It's like it's just not quite compiling all the code, and I'm very confused.
    My publish settings:
    Player: AIR for iOS
    Script: Actionscript 3.0
    Included .swf, .xml, and all relevant .as class files
    Published using quick publish for device testing
    Are there some AS 3.0 features that won't work in iOS? If so it would be really great to have a list of those somewhere.
    What am I doing wrong? Why won't my app work on an actual device if it tests perfectly in the emulator?

    My original question has not been answered, but I am running across the same problem in a different way.
    I have added to my code, continuing to build the app, (hoping the problem can be solved eventually), and once again, the app works perfectly in Device Central but not on the iPad.
    I have buttons to select different levels of the puzzle. Each time you press a button, the level automatically updates itself on the board. So if you are playing the shape level, the shape of the puzzle piece is on the board. If you are playing the name level, the name of the puzzle piece is on the board. Etc.
    This works perfectly on my computer. However - again - when I transfer it to an iPad, choosing the "shape" level will cause the names to pop up.
    I have double and triple checked the variable names to make sure they match up and are correctly spelled and capitalized. It just doesn't function in iOS.
    Here is the code to switch levels and automatically generate a new random puzzle piece:
    function changeLevel (e:TouchEvent): void {
        trackUSAPiece = ["pieceAL", "pieceAK", "pieceAZ", "pieceAR", "pieceCA", "pieceCO", "pieceCT", "pieceDE", "pieceFL", "pieceGA", "pieceHI", "pieceID", "pieceIL", "pieceIN", "pieceIA", "pieceKS", "pieceKY", "pieceLA", "pieceME", "pieceMD", "pieceMA", "pieceMI", "pieceMN", "pieceMS", "pieceMO", "pieceMT", "pieceNE", "pieceNV", "pieceNH", "pieceNJ", "pieceNM", "pieceNY", "pieceNC", "pieceND", "pieceOH", "pieceOK", "pieceOR", "piecePA", "pieceRI", "pieceSC", "pieceSD", "pieceTN", "pieceTX", "pieceUT", "pieceVT", "pieceVA", "pieceWA", "pieceWV", "pieceWI", "pieceWY"]
        if (e.target == nameLevel) {
            PuzzleGlobals.currentLevel = "Name";
            nameLevel.gotoAndStop("Active");
            abbrevLevel.gotoAndStop("Inactive");
            shapeLevel.gotoAndStop("Inactive");
            for (var j=0; j<(PuzzleGlobals.TOTAL_NUMBER_USA); j++) {
                this[trackUSAPiece[j]].gotoAndStop("wholeName");
        else if (e.target == abbrevLevel) {
            PuzzleGlobals.currentLevel = "Abbrev";
            abbrevLevel.gotoAndStop("Active");
            nameLevel.gotoAndStop("Inactive");
            shapeLevel.gotoAndStop("Inactive");
            for (var k=0; k<(PuzzleGlobals.TOTAL_NUMBER_USA); k++) {
                this[trackUSAPiece[k]].gotoAndStop("abbrev");
        else if (e.target == shapeLevel) {
            PuzzleGlobals.currentLevel = "Shape";
            shapeLevel.gotoAndStop("Active");
            nameLevel.gotoAndStop("Inactive");
            abbrevLevel.gotoAndStop("Inactive");
            for (var l=0; l<(PuzzleGlobals.TOTAL_NUMBER_USA); l++) {
                this[trackUSAPiece[l]].gotoAndStop("shape");
    function addNewPiece (e:TouchEvent): void {
        ri = Math.floor(Math.random()*(1+PuzzleGlobals.TOTAL_NUMBER_USA));
        if (PuzzleGlobals.statesOnBoardUSA == PuzzleGlobals.TOTAL_NUMBER_USA) {
            //play BOOP sound indicating no new pieces left
        else {
            if (usaPiece[ri] != null) {
                bmc.addChild(this[usaPiece[ri]]);
                if (PuzzleGlobals.currentLevel == "Shape") {
                    this[usaPiece[ri]].height = this[usaPuzzle[ri]].height;
                    this[usaPiece[ri]].width = this[usaPuzzle[ri]].width;
                this[usaPiece[ri]].x = e.stageX;
                this[usaPiece[ri]].y = e.stageY;
                usaPiece[ri] = null;
                PuzzleGlobals.statesOnBoardUSA++;
            else {
                addNewPiece(e);
    Here is the code that creates the piece:
            public function GeoPiece(): void {
                if (PuzzleGlobals.currentLevel == "Name") {
                    this.gotoAndStop("wholeName");
                else if (PuzzleGlobals.currentLevel == "Abbrev") {
                    this.gotoAndStop("abbrev");
                else if (PuzzleGlobals.currentLevel == "Shape") {
                    this.gotoAndStop("shape");
                this.addEventListener(TouchEvent.TOUCH_BEGIN, geoPieceBegin);
    Is it possible I have a bad compiler or something? Do I need to reinstall the entire program? I just can't figure out why it would work in one operating system and not in another.
    Thanks
    Amber

  • AIR for iOS, Getting HTML5 Video to Autoplay in a StageWebView?

    Hi all,
    The video performance I get from the built in FLV video is pretty poor. I'm considering using a StageWebView to display a HTML5 page with a standard <video> in it.
    The video shows up and (if I enable controls) can be played and it looks great (much better than FLV). The only issue is I cannot find a way to have the video autoplay once the StageWebView is loaded.
    I've set the <video .... autoplay> parameter. I've also tried using JavaScript to send a video.play() (after the window load event is complete and the DOM is ready).
    Has anyone figured this out?
    I can't wait for AIR3.0 so we can just use StageVideo.. But for now I'm using AIR2.7 via Flash CS5.5 publishing for an iPad2 via AIR for iOS.
    Thanks for any tips!

    This was a pretty old post. In the advent of StageVideo it doesn't really matter anymore. StageVideo is GPU and you can autoplay all you like.
    BTW there was an old project I'm unsure if it still exists but it was called StageWebViewBridge (SWVB) that reconnected AS3 and JS. You could call methods in JavaScript right from ActionScript the same way fscommand/externalInterface works. So you could force the video to start playing using that.

  • Loading SWF's in AIR for iOS

    Hi,
    I am working on a project in AIR for iOS.  It's great that we as flash developers are now able to compile our actionscript code for iOS.
    The project i'm working on is divided in different SWF-files.  There is one master SWF file that loads the others when needed.
    Now i can't get loading of a swf file actually working.  The only thing i see is the background of the child being displayed, but then the program freezes and no actionscript code of the child gets exectuted.
    The children swf's are loaded with a simple Loader:
    var loader:Loader = new Loader();
    childLayer.addChild(loader);
    var url:URLRequest = new URLRequest("child.swf");
    loader.load(url);
    When i publish the master swf file i include the children swf files in the package.
    Is it actually possible to use multiple swf's in your iOS projects?
    And what are the limitations for this?
    Thanks.
    greeting,
    Bert

    You can control your external swf from your main.swf in the following method:
    loadswf(clips[0]);
    function loadswf(tmp:String):void{
        passedString=tmp;
        ldr= new Loader();
        ldr.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, progressListener);
        ldr.contentLoaderInfo.addEventListener(Event.COMPLETE, swfLoaded);
        ldr.load(new URLRequest(animPath+tmp));
        function progressListener (e:ProgressEvent):void{
            ploader.visible=true;
        function swfLoaded(e:Event):void {
            mcExt = e.target.content as MovieClip;
            ldr.contentLoaderInfo.removeEventListener(Event.COMPLETE, swfLoaded);
            mcExt.addEventListener(Event.ENTER_FRAME,onEnterfn);
            ploader.visible=false;
            addChild(mcExt);
    function onEnterfn(e:Event):void{
        var num:int=mcExt.currentFrame;
        switch(passedString){
            case clips[0]:
                if (num==1) mcExt.play();
                if (num==9) {
                   mcExt.skipmc.addEventListener(MouseEvent.CLICK,skipfn);
                    function skipfn(e:MouseEvent):void{
                        mcExt.stop();
                       mcExt.removeEventListener(Event.ENTER_FRAME,onEnterfn);
                        gotoAndStop("help");
                if (num==mcExt.totalFrames){
                   mcExt.removeEventListener(Event.ENTER_FRAME,onEnterfn);
                    gotoAndStop("help");
                break;

  • Sound preloading doesn't work in Air for iOS?

    I have a set of  sounds preloaded using load() method in Sound class in my game and it works fine when testing on my pc(windows 7). But when I deployed the game to iPad2, it seems like Air is only loading the sound files when play() method is actually called and not when load() method was called. There's a small lag when first playing a sound on my iPad2.
    Is this default behavior of Air for iOS? Is there anyway to preload sounds?
    I'm using Air 3.4 and Flash CS6 professional and the sound files are not embded but in an included folder.

    It seems to me as if pages that partially fill in autofillable fields cause the problem.
    Previously on IOS7 and before this was not a problem.
    Autofill seems to work for me if no values are filled in by the (initially loading) webpage.
    Resetting the ipad did not help on this issue.
    Neither did removing the stored pw-information help. IOS asked me to re-save the id and pw but that did not change the situation and the problem still remains unresolved.

Maybe you are looking for