Air 3 + FMS 4.5 + HLS = iOS app play live video? h264+aac?

OK, I tried before with air 2.6-2.7, a live video app VP6+MP3 to the AppStore and it got rejected, because of the http-live-streaming requirement.
So today, I installed FMS 4.5, and created stream h264+AAC, to the rtmp://myserverip/livepkgr  with stream: mystream?adbe-live-event=liveevent
I tried openning it on iphone safari with this url and it playes with default player: http://myserverip/hls-live/livepkgr/_definst_/liveevent/mystream.m3u8
Then I tried with same url in my iphone app (Air 3.0 sdk) to open the stream and it doesnt work, I tried f4f and f4m extensions, dont work.
What is the URL I have to load from my app as3 to load this HLS stream into my Air3 iOS App?
I read somewhere now it is possible, or is it not possible yet to make app that plays HLS now?

OK, I just made it work (kind of) with StageWebView. In a way with the iphone default player it is working smoothly with h264 video and AAC audio.
- Is this the only way to bring HLS (http-live-streaming) live video to the  Air3 sdk based iOS Apps? I looked through the HLS and HDS documents, it doesnt say anything about how to load the stream into AS3 code with rtmp://ip/live/stream kind of URL.
- Is there any live tv apps approved to Apple AppStore with this StageWebView implementation? I am worried that that it will rejected, because it is basically just loading a html page.
Appreciate the help in advance.

Similar Messages

  • Air 3.3 and background ios apps

    Hi All
    I cannot find some coherent information on this so I am asking here.
    I need to write an iOS app that needs to perform a webservice call every x minutes to update the slqite db on the device, even if the application is not running in the foreground.
    From google what I could find out was that iOS will only allow your app to run a small time after closing(to finish an upload etc).
    e.g. "AIR does not provide support for this iOS background processing model":  http://www.adobe.com/devnet/air/articles/considerations-air-apps-mobile.html#articleconten tAdobe_numberedheader_5
    but then later " applications may now support location updates and networking in the background": http://forums.adobe.com/message/4380335http://forums.adobe.com/message/4380335
    Can I do what I need in Air 3.3+ an iOS 5.1+ ?
    Thank You

    Some of the statements in this thread are no longer true, or need to be updated.
    Here is a recap:
    As of AIR 3.9, background execution will work on iOS+Android with render mode set to 'direct' ( which implies that you are using Stage3D ).
    For background execution to work in iOS, you need:
    to set NativeApplication.nativeApplication.executeInBackground = true, in your as3 code somewhere ( note: strangely, background exec on iOS has worked for me in the past even by not doing that ).
    to add in the iPhone section of your app manifest ( *-app.xml ):
    UIApplicationExitsOnSuspend = false
    UIBackgroundModes = audio ( and/or location, or some other background mode ).
    a good excuse / reason :  since battery-gate on the iPhone4, Apple has  tightened its policies regarding background execution.  For example:  last time I tried, setting UIBackgroundModes=audio was only allowed if the app was intended to play a sound persistently in the background ( not occasionally, such as an alarm clock sound ).
    For local notifications, I recommend Distriqt's local notification ANE ( Android+iOS), since it's the ony one I know which uses the AlarmManager api on Android ( Koesler's Android Local notif doesn't last time I checked ).  This means that on Android, the local notification can be scheduled for a later time ( same as iOS ), and will fire EVEN if the app is either minimized or has been closed properly ( meaning closed by the OS, or by the user via NativeApplication.nativeApplication.exit() -- note: force-stopping is the exception and cancels scheduled notifications on Android ).  You can also have the local notification play a custom sound which is up to 30 secs long ( mp3s on Android / cafs on iOS).  Sound will be audible on both platforms, even if the device is suspended.  This is ideal for an alarm-clock, for example.  The downside of local notifs is that they don't execute code, per se, however they can pass a data payload ( text ) back to the app, if it is running ( even if minimized ), which a handler can receive to do stuff.

  • How to play live Video Stream with Flex?

    I'm trying to get Flex Builder 3 to play a live video stream with Flash Media
    Server and Flash Live Media Encoder.
    I'm able to stream pre-recrorded (vod) flvs in flex from flash media server.
    I'm able to stream live video using Flash/FMS/Flas Live Media Encoder, but not
    with Flex.
    This code streams pre-recorded Video on Demand flvs, but not live streams:
    If I change source to "rtmp://localhost/live/livesream.flv, I get nothing.
    What am I doing wrong?
    <?xml version="1.0"?>
    <!-- controls\videodisplay\VideoDisplayFMS.mxml -->
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
        <mx:HBox>
            <mx:Label text="RTMP FMS 2.0"/>
            <mx:VideoDisplay
                autoBandWidthDetection="false"
                source="rtmp://localhost/vod/Legend.flv"/>
        </mx:HBox>
    </mx:Application>
    Oh and sorry for the double post. I didn't know there was a seperate FMS forum.

    That worked! Thanks  *very* much. Stupid of me to forget to set the live attribute to true. Also removed the .flv. BTW: what video component do you prefer?
    Here's the working code:
    <?xml version="1.0"?>
    <!-- controls\videodisplay\VideoDisplayFMS.mxml -->
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
        <mx:HBox>
            <mx:VideoDisplay
                live="true"
                autoBandWidthDetection="false"
                source="rtmp://localhost/live/livestream"/>
        </mx:HBox>
    </mx:Application>

  • Able to play live video by rtmp but not by http

    Hi Experts ,
                       I need some help in proceeding further on my HDS live streaming setup .
    i have adobe flash media server 4.5 and adobe flash media live encoder 3.2 . followed all the steps provided in the following link
    http://help.adobe.com/en_US/flashmediaserver/devguide/WSeb6b7485f9649bf23d103e5512e08f3a33 8-8000.html.
    can somehelp help me out . am i missing some this . i would ideally need the live video play with http syntax .
    mtp://2.68.1.5/livepkgr/livestream?adbe-live-event=liveevent -
    http://2.68.1.5/livepgr/livestream?adbe-live-event==livestream doesnt work

    Thanks Hparmar , i tried the above links still Iam not able to stream single live link .
    i see .bootstrap , .control , .meta , f4f,f4x and .stream files .
    on my encoder Fms url is rtmp://localhost/livepkgr and stream is livestreamnow .
    on browser url when i try http://serverip/hds-live/livepkgr/_definst_/liveevents/livestreamnow.f4m - it says f4m document contains errors URL missing from tag " .
    my manifest file
    <manifest xmlns="http://ns.adobe.com/f4m/2.0">
      <baseURL>http://</baseURL>
      <media href="http://2.68.1.8/hds-live/livepkgr/_definst_/liveevent/livestreamnow.f4m" bitrate="650"/>
    xml in browser displays this
    manifest><id>
            livepkgr/events/_definst_/liveevent
        </id><streamType>
            live
        </streamType><duration>
            0
        </duration></manifest> .
    can someone help me with this , how to proceed further ?

  • Why won't Firefox play live video streams such as webcam pages.

    just upgraded to windows 7 as well as the latest version of firefox. Flash movie sites such as youtube play without difficulty. It is only sites such as http://www.liveduvalstreet.com/crowdcam.htm that do not work. before these sites worked without difficulty.

    Thanks for the response. That did indeed solve the problem. Figured it out about an hour after posting. Interestingly it works fine on my wifes computer (vista64) without the wmp plug in.

  • Youtube scrren goes black after playing live video for 2-3minutes

    I was watching the ipl live in youtube and after 5min the screen goes blank if the page is loaded again the it would work for another 2-3min then again goes blank

    Hello,
    '''Try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
    ''(If you're not using it, switch to the Default theme.)''
    * You can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    ''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''
    Thank you.

  • Emoji in Adobe Air iOS app?

    Hello,
    We are using Adobe Flex 4.6 and Air 3.3 to develop iOS app. Does anyone know if it is possible to enable emoji in our app? Currently the emojis show up as squares.
    Thank you very much.

    omgallnamestaken,
    did you ever get anywhere on this?  Im trying to do the same thing on ios with air app running in the background.  thanks.

  • Flash media live encoder, play live streaming failed!

    Hi, I install a fms3.5 and fmle3.1 on my computer. In fmle, I set video format is h264,and fms url:RTMP://192.168.8.6/live ,stream: livestream. The input and output windows' video is ok.
    The following is fmle log:
    Tue Jun 22 2010 12:25:19 : Primary - Connected
    Tue Jun 22 2010 12:25:19 : Primary - Network Command: onBWDone
    Tue Jun 22 2010 12:25:19 : Primary - Stream[11] Status: Success
    Tue Jun 22 2010 12:25:19 : Primary - Network Command: onFCPublish
    Tue Jun 22 2010 12:25:19 : Primary - Stream[11] Status: NetStream.Publish.Start
    Tue Jun 22 2010 12:25:19 : Session Started
    Tue Jun 22 2010 12:25:19 : Video Encoding Started
    The following is my source code to play live stream:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
        <mx:Script>
            <![CDATA[
             import mx.controls.Alert;
             private function showFlv():void {
                //myVideo.source = "rtmp://192.168.8.6:1935/vod/test.flv";
                myVideo.source = "rtmp://192.168.8.6:1935/live/livestream";
                 Dumper.info(myVideo.source);
             ]]>
        </mx:Script>
        <mx:Panel width="100%" height="100%">
          <mx:VBox width="100%" horizontalAlign="center">
            <mx:Text text="code display"/>
            <mx:Button label="play flv" click="showFlv();"/>
          </mx:VBox>
          <mx:VideoDisplay width="100%" height="100%" id="myVideo"/>
        </mx:Panel>
    </mx:Application>
    If I use myVideo.source = "rtmp://192.168.8.6:1935/vod/test.flv" ,it can play video.  Use :myVideo.source = "rtmp://192.168.8.6:1935/live/livestream",  Can't get video. Why?
    I just want to play live video on pc.

    Who can help me??

  • Can I stream live video from mobile to fms using flashlite?

    Can I stream live video from mobile to fms using flashlite?
    I Know flash lite 4 also not access the mobile camera.  But, I need to develop a application it captures the mobile camera and stream the vedio to fms server and display the live event to other mobile users.
    Is it possible? 
    If possible what are the technologies i can use?
    Thanks for the help in adavance
    Prasad

    i have made a few test with Flash Lite 3.0 and Flash Media Server 3  and I have to say that it is pretty easy to stream FLV Video files and  Live Video from local web camera to mobile phone. Here are a quick  instructions how to do it in Windows (I will publish Linux version  later).
    Play FLV-video from Flash Media Server 3:
    Install Flash Media Server 3 (download developer version)
    There are a few sample FLV files in applications/vod/media folder, so you can use one of them for testing
    Create a new Flash Lite 3.0 file in Flash
    Add a new Video symbol to library
    Drag this Video symbol to Stage and give instance name to it: video
    Type following programming to timeline:
    // make a new video-object
    var video:Video;
    // make a new NetConnection-object
    var nc:NetConnection = new NetConnection();
    // check connection status from server
    nc.onStatus = function(info:Object):Void {
      status_txt.text=info.code;
      if (info.code == "NetConnection.Connect.Success") {
        startStreaming();
    // start streaming video to phone
    function startStreaming() {
      ns = new NetStream(nc);
      ns.setBufferTime(5);
      video.attachVideo(ns);
      // play sample.flv from server
      ns.play("sample",0);
    // show info to user
    status_txt.text = "Connecting server...";
    // connect FMS 3 video on demand service (default port 1935)
    nc.connect("rtmp://your.server.ip.here:1935/vod");
    Go to Publish Settings...
    Set Local playback security: Access network only
    Publish your SWF-file
    Send your SWF-file to your phone
    Test and you should see FLV-video playing in your phone
    Play live video from Flash Media Server 3:
    Install Flash Media Server 3 (download developer version)
    Install Flash Media Encoder 2 (Windows only)
    Start Flash Media Encoder 2
    You should see your live camera in Input screen
    Press Start-button to start sending live video to Flash Media Server 3
    Create a new Flash Lite 3.0 file in Flash
    Add Video symbol and programming as you did earlier
    Modify your programming:
    // in startStreaming()-function
    // Flash Media Encoder 2 publish stream name is "livestream"
    ns.play("livestream",-1,-1,true);
    // start connection to Flash Media Server 3
    // Flash Media Encoder 2 publishes Flash Media Server's default
    // live publishing point, so connect it
    nc.connect("rtmp://your.server.ip.here:1935/live");
    Publish, test and enjoy
    box office movies

  • Can no longer return to iOS app in AIR 4.0 Beta

    Is it me or is it no longer possible to return to an iOS app in AIR 4.0 beta? An app I just compiled restarts every time you launch it. No such problem in AIR 3.9.

    Just yesterday I saw a problem where going to the home screen and back would either crash the app or would leave it in a frozen state. It only happened if by that time I had been via a part of the app that played an animation that used stream audio.
    Might you be seeing the same kind of thing, where you can go in and out of your first screen, but get crashes or hangs when going from another screen?
    I didn’t log a bug yet because it’s a hard problem to narrow down, because the crashing happens when you return to the app, and so doing a debug session won’t help, the session closes when you go to the home screen.

  • Detect if iOS app is made with AIR?

    Is there an easy way to find air apps on the iOS app store? OR an easy way to detect if someones app is made with Air? I do not see the App ID in the itunes link like you do on google play

    The need was to find out apps in the App Store that were made as AIR apps. You would have to actually buy apps to figure it out from the files. In Google Play you can see in the URL. For example, I did this app with Flash Pro:
    https://play.google.com/store/apps/details?id=air.com.oogieloves.milkshakemayhemlite

  • 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

  • Error while debugging AIR for IOS app

    I get the following error when attempting to debug my AIR-IOS app on an IPad 2.
    The weird thing is that the logfile mentioned does not exist.
    Any ideas?
    - Abey
    # A fatal error has been detected by the Java Runtime Environment:
    #  EXCEPTION_UNCAUGHT_CXX_EXCEPTION (0xe06d7363) at pc=0x764db9bc, pid=5400, tid=9024
    # JRE version: 6.0_29-b11
    # Java VM: Java HotSpot(TM) Client VM (20.4-b02 mixed mode windows-x86 )
    # Problematic frame:
    # C  [KERNELBASE.dll+0xb9bc]
    # An error report file with more information is saved as:
    # C:\Users\ABEY~1.LEX\AppData\Local\Temp\AOT1326388929076\hs_err_pid5400.log

    I have the same error.
    The wierd is that the log file doesn't exists.
    Anyway I try everything... to reinstal my Flash Builder, reinstall all versions of java. I even try to make Xmx and Xms bigger size.. but nothing... still got the error.
    If I create new project... then everything works fine... Export Release Build work very well,
    but if I try to Export Release Build for my large project... then this error comes up.
    I look at my code and no find any errors...
    Build for android works as well, the error comes up when I try to build for iOS.
    Please Adobe - give us help how to fix this.
    Thank you

  • What are some of the best iOS apps can remotely played videos, audios, photos and text files from a NAS hdd connected to Airport Extreme USB port? And how to configure this setup?

    I have already set up NAS hdd as connecting it at USB port of Airport Extreme, i also want to remotely access it from iPhone, so what's the next step? What are some of the best iOS apps can remotely played videos, audios, photos and text files from the NAS hdd and how to configure this setup?

    *Edit - I am not able to connect to the NAS when hardwired to the airport extreme.

  • Adobe Air + Box2D.swc = TypeError: Error #1009 // New way to handle .swc files in Flash for iOS Apps?

    Hi,
    I need your help please - I have to update one of my iOS Apps. In this App I use Box2d for a simple maze game (it's an app for kids). When I publish & test this game on my Mac it works fine. I can drag my Hero (fish) through this Maze and all collision detections, gravity etc. work perfect.
    When I test it on my iPad it doesn't work. The device debugger shows this error message:
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
      at global$init()
      at global$init()
      at Box2DAS.Common::b2Base$/initialize()[/Users/jan/Documents/_Projekte/Spielplatz/Universal_ Retina/src/com/Box2DAS/Common/b2Base.as:31]
      at wck::WCK/create()[/Users/jan/Documents/_Projekte/Spielplatz/Universal_Retina/src/com/wck/ WCK.as:26]
      at misc::Entity/ensureCreated()[/Users/jan/Documents/_Projekte/Spielplatz/Universal_Retina/s rc/com/misc/Entity.as:50]
      at misc::Entity/handleAddedToStage()[/Users/jan/Documents/_Projekte/Spielplatz/Universal_Ret ina/src/com/misc/Entity.as:100]
      at misc::Entity/handleAddedToStage()
    Line 31: loader = new CLibInit();
    I guess "CLibInit" should come from the .swc file.
    The thing is:
    I didn't change anything in this maze game - it seems this has to do something with the new Flash and/or Adobe Air version. Box2D.swc file is included:
    It always worked like this - and it works when testing it on my Mac - but it is no longer working on my current system.
    So I started my Mac from an older system (10.9.5 on an external HD) and published the App from Flash CS6 and Adobe Air 13.0 - then it suddenly worked on my iPad as before. I was able to tap an the fish and drag it arround.
    The same project / app published from my current OS X 10.10 + Flash CC 2014 + Adobe Air 15.0.0.302 is not working. I always receive this Error Message - I can not drag the fish - nothing happens. And I have no idea why this happens and what else I could do. I searched the whole day for a solution but didn't find anything.
    So did anything change by the way Flash and/or Air handles .swc files? Is there an other way to include: import cmodule.Box2D.* / CLibInit ?
    Please - if anyone has a clue - please let me know!!
    Best regards
    Jan

    Update:
    There is also an Android Version of this App. I just published and tested a new version of it on my kindle fire & Samsung Galaxy Tab 2. On both Tablets the maze works perfect. I'm able to drag the fish around etc.
    Then I published this Android Version for iOS and tested it on my iPad. Again I'm getting the Error message:
    TypeError: Error #1009: Cannot access a property or method of a null object reference. 
      at global$init() 
      at global$init() 
      at Box2DAS.Common::b2Base$/initialize()[/Users/jan/Documents/_Projekte/Spielplatz/Universal_ Retina/src/com/Box2DAS/Common/b2Base.as:31] 
      at wck::WCK/create()[/Users/jan/Documents/_Projekte/Spielplatz/Universal_Retina/src/com/wck/ WCK.as:26] 
      at misc::Entity/ensureCreated()[/Users/jan/Documents/_Projekte/Spielplatz/Universal_Retina/s rc/com/misc/Entity.as:50] 
      at misc::Entity/handleAddedToStage()[/Users/jan/Documents/_Projekte/Spielplatz/Universal_Ret ina/src/com/misc/Entity.as:100] 
      at misc::Entity/handleAddedToStage
    ...and the fish is stuck - I can't drag it - nothing happens. So this error only occurs when I publish the App for iOS - as an .ipa. Did anything change in the way Air handles .swc files?
    I'm totally confused
    If anybody has an idea what I could try - PLEASE LET ME KNOW!!

Maybe you are looking for

  • Dv6 recovery disc

    Hello! I have been on the phone with HP (2+ Hours) with no success. I purchased a HP DV6 in Dubai: Product #A7M81EA#ABV. I wiped my conputer clean and need a recovery disc, they will not ship me a recovery disc from HP US because I bought it in Dubai

  • Why after a successfully installed mess. do apps say you have to install latest version of flash?

    Why after successfully installing flas player do apps say yuo nee to install latest version.?

  • Order details error

    Hi We have installed SP13 on WAS and SP13 on the client and we know have the known error on this release. I have also installed hotfix 1 for MAM25 SR2 which should fix this error, but is does not??. Local created service orders do, however not fail.

  • Table V_T7XSS_SER_RFW

    Good Morning. I want know in what cases is used the view V_T7XSS_SER_RFW? What is the function of this view for ESS? Kind Regards.

  • Reg : PDF output.

    Hello Guys...           Thanks for all the support in SDN . I have a problem . Would be greatful if some one would help me out. Issue : I have a Excel file on presentation server. I have displayed the Excel file directly in the container for the end