How to play HLS stream in flex

i aim to create a flex mobile application for iOS platform,which will play videos of streaming form.
as i kown,only Http Live Streaming(HLS) is supported on iOS, then how to realize the playball of video of HLS form?
if i have a valid m3u8 playlist url,how to play it in my flex mobile application?can anybody help or give me some advices?
i will be thankful!

GRag and Mesh are correct. You cannot use Flex to access a file on a user's hard drive, which is where your path is pointing.
Instead, create a folder within your Flex project, under the "src" folder (example: src/assets/videos), and put the SWF there. Change the path in your code to point to the new location, like "assets/videos/myVideoFile.swf". Note that you don't refer to the src folder; it is the "root" of your application, and when you deploy all your files to your web server, you will be copying the folders you created to the root folder of your web server. So, all the paths will remain consistent. Flex will attempt to find "assets/videos/myVideoFile.swf", starting from the "root", or location, of the application itself.

Similar Messages

  • 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

  • How to play FMS stream by MediaPlayback?

    How to play FMS stream by MediaPlayback?
    flash8/winxp/fms2.0
    Thank you very much!

    After searching, I came to know about "Tuner radio" application. (URL: http://www.indexcom.com/iphone/description.html). So it is possible. But now how to achieve this?

  • How to play live streaming in windows phone 8.1 silverlight app?

    Hi,
    I am developing a windows phone 8.1 silverlight app. In my I want to show live streaming youtube channel , I think it is not possible, 
    Actually that youtube channel is a television channel , I want to stream that live tv in my app.(I tried to load youtube channel in webbrowser in iframe tag but it is not opening)
    Anybody help me how to play live tv or live streaming in my app,
    Thanks..
    Suresh.M

    Hello,
    You will likely need to write a custom
    MediaStreamSource that can access the media stream and parse it. Windows Phone supports h.264 natively and as long as the site serves up a media stream that contains h.264 frames you can parse it and have our built in decoder decode and display it. You
    will need to have intimate knowledge of the streaming protocol used by the website that you are trying to play. You must also make sure that the website is not using protected content. IANAL so I would recommend that you have your local law professional
    (lawyer) review the licensing of the website that you are attempting to connect to and stream from before continuing your development. Your lawyer can make sure make sure their licensing allows you to do this.
    I hope this helps,
    James
    Windows SDK Technologies - Microsoft Developer Services - http://blogs.msdn.com/mediasdkstuff/

  • Not playing HLS streaming on Safari (and HDS gets and error)

    I just installed Flash Media Server 4.5 on my apache2.2 server. I am running the default webpage from the program, https://filmthos.com/flash/. I get an error when running the HDS streaming sample Error#2032. The rtmp sample runs fine. I run the HLS on IE and it give the error message that it can only run on Safari, whicvh is fine. BUt when I run this sample on Safari nothing happens. So any suggestion would be helpful to figure out the problem. THank you!

    I had external Apache setup. So, I uninstalled it and reinstalled the FMS with the bundled Apache. It worked fine. The only problem is I don't know how to configure this Apache with php5, pear, mysql etc. Things I had already configure with the external Apache. So I reverse all that I did. But you mention I would have to configured my enternal Apache to FMS correctly. What or where can I find what has to be configure with my external Apache? Thanks for your help!

  • How to play swf file in flex builder3?

    Hi!!!!!! I have made a video player in Flex project ......In source of video display I have added the path of my swf file which is as follows:
    <mx:VideoDisplay id="player" source="C:\Documents and Settings\sachin\Desktop\absolute-values.swf"
    maintainAspectRatio="true"
    width="450" height="300" autoPlay="false"
    playheadUpdate="videoDisplay_playheadUpdate(event)  ;"/>
    But when I am clicking on Play button ,I am getting following error:
    Error: 1000: Unable to make connection to server or to find FLV on server.
    at mx.controls.videoClasses::VideoPlayer/play()[C:\autobuild\3.2.0\frameworks\projects\frame work\s rc\mx\controls\videoClasses\VideoPlayer.as:1327]
    at mx.controls::VideoDisplay/play()[C:\autobuild\3.2.0\frameworks\projects\framework\s  rc\mx\controls\VideoDisplay.as:1464]
    at basicvideoplayer/___basicvideoplayer_Button1_click()[C:\Documents and Settings\sachin\video player\src\basicvideoplayer.mxml:44]
    Can anyone help me in removing this error?Kindly give me a  code  to Play,Pause and stop my swf file.

    GRag and Mesh are correct. You cannot use Flex to access a file on a user's hard drive, which is where your path is pointing.
    Instead, create a folder within your Flex project, under the "src" folder (example: src/assets/videos), and put the SWF there. Change the path in your code to point to the new location, like "assets/videos/myVideoFile.swf". Note that you don't refer to the src folder; it is the "root" of your application, and when you deploy all your files to your web server, you will be copying the folders you created to the root folder of your web server. So, all the paths will remain consistent. Flex will attempt to find "assets/videos/myVideoFile.swf", starting from the "root", or location, of the application itself.

  • How to play video files in flex 3

    Hi,
    i want to play 3gp, wmv, avi or mpeg video files in flex 3. can any one help me in detail. please

    if it is only happening with server side videos it can be a cross-domain policy issue, you can take alook  here for more information;
    http://livedocs.adobe.com/flex/3/html/help.html?content=05B_Security_04.html

  • How to Play MPG videos in Flex web app?

    Hi,
    I would like to play MPG file in my flex app. Video player available in flex plays only .flv file.
    Is there any way of doing this?? can somebody post an example of this??
    Any help wud be highly appreciated.
    Regards,
    khushboo

    I think there's a dereferrer field in the HTTP header that you can query from the HttpRequest.

  • How to play live streaming video which is being streamed via http or rtsp

    I am building an application which needs to display live mpeg2 video; the source of the live stream is over e network, e.g,http://xxx.xxx.xxx.xx:8080.
    To see if QT had this capability, In QT for Open URL, I tried, rtsp://xxx.xxx.xxx.xx:8080 and http://xxx.xxx.xxx.xx:8080, but I am not able to see any video. (I tried setting my QT options per posts I have read)
    Also, I'm able to see the live stream using Windows Media Player and VLC. (I used VLC to stream the video over the network and I tried streaming several formats but still could not see video in QT; when using rtsp, status of QT says negoiating and never transition from this state)
    Any advice on this topic?
    Thanks in advance

    QuickTime will not play MPEG-2 content, streaming or otherwise, without the addition of the extra-cost MPEG-2 Playback Component. Even with that component, QuickTime cannot play all MPEG-2 streams. Read the FAQ carefully for details.

  • How to play broadwave.asx streams

    I want to play a internet radio station that uses a broawave.asx stream.
    iTunes does not play de stream.
    Is there a solution?

    SOLVED
    Okay, I found out how to play *.m3u streams.
    If one does not have it, get it there, Nokia Internet Radio
    http://europe.nokia.com/internetradio
    Now, manually download the *.m3u file, it is a file, that contains the actual address of the stream, in the case of
    http://www.dradio.de/streaming/dlf.m3u
    The actual address is
     http://dradio-mp3.t-bn.de/dlf128k_live
    It is contained in the dlf.m3u file and this is the address one has to enter manually in Nokia Internet Radio!

  • Playing MMS Stream through Flash

    Hello
    i want to Playing MMS Stream through Flash , i have my own
    server and streaming video / audio from it in the protcol MMS
    as www.mysite.com:8080 and mms://www.mysite.com
    how i playing the stream in the Flash ?? is this by action
    script ?
    thanks

    I am trying to do this also since WMP 11 no longer supprts
    mms://. Is this possible?

  • How to restore radio streams-

    i doubled clicked one of the triangles and the category disappeared

    karol wrote:
    I'm sorry, looks like the Banshee Wiki is disabled at the moment.
    Arch wiki should cover everything Arch-specific and some other things *users find useful*. Arch specific means pacman, not Banshee. Do you know how do you write a wiki? You search for the relevant information and put it in there yourself, so that others could benefit. You've noticed that the wiki is lacking info about how to play radio streams in Banshee or Exaile. Great, go and find that info (read the FAQ on Banshee's site, google, read MLs) and be sure put a nice HOWTO into the Arch wiki when you find the answer.
    Radio streams don't play in Exaile either. It does show that it's playing but no sound.
    Doesn't  anybody here use Exaile or Banshee?
    I can play the streams going to radiocrazy.ch or somafm.com and then opening them with VLC.
    Why would it play that way and not throught one of the other programs?

  • How to use "start" and "duration" with HLS stream

    Hi all,
    is it possible to use "start" and "stop" with HLS stream like rtmp stream?
    If yes, how?
    thanks in advance.

    Hi,
    This is completely player side fucntionality you are asking for. However, I guess default player that comes on safari (iPad), quicktime has the player timeline with stop and start option. But if not, you can create your custom player using exposed api of AVPlayer. Check-out AVPlayer api's.
    FMS, by nature of protocol will respect the request to get the data(in case of client-play-start)  and will not automatically push the data to the client if not asked for by the client (as in case of client-play-stop).
    Thanks

  • How to play .wmv file with a MSS1 stream encoded?

    I found a bunch of old tutorials on my HD and tried to play them. QT gave me an error message about not having a codec. VLC also couldn't play them. I was able to open the files in QT and do a 'get info'. That's where I found the MSS1 info. Anyone have any ideas about this one?
    Thanks,
    Chris

    Interesting, but any idea how to play them w/in QT?
    Believe it would take a 5-8 year old player (WMV or third-party) to support the WMV 7 Screen format. My WMV experience doesn't go back that far so I am not even sure it was ever supported on the Mac. Believe Flip4Mac assumed support of WMV four years after the codec was initially released and it doesn't list MSS1 as being supported at this time. Would probably be easier to see if any old Windows users might have a compatible application and convert the files on the Windows machine.

Maybe you are looking for

  • 11g report bug !!!!  web.show_document paramform=yes   arabic problem

    hello, my problem already mentioned here . Arabic parameters with web,show_document  using parameters form not working i'm using Fusion 11g form & report 11g. my report support arabic, database also support arabic. my problem happen when i run my rep

  • How do I open my TIF file into Camera Raw from Bridge?

    Trying to follow a tutorial on editing an HDR image in photoshop. When instructed to open the TIF image into Camera Raw from Bridge, I don't get the option when I right click. What is going on here?

  • ALV heading required using ALV opps-urgent

    Hi All, I developed one report which is displaying ouput in grid using ALV OOPS concept. i need heading as foloows. Header : Program ID : EDI report program name Date/Time : date/time where the report is generated Page No : User id : logon ID anybody

  • Recently backed up iphone and half of the photos are blurry/disappear

    I just recently backed up my iphone after receiving a new handset, now half of the photos are blurry and when selected appear for about 2 seconds before disappearing into white. They still appear on the camera roll. I've restored and backed up twice,

  • Feature Request: Right-Click Zoom (like in Audition)

    You can hold down the right mouse button down, select an area, and release to zoom to that region in Audition. Can we please have this feature in Premiere Pro CC? It would be a huge timesaver, and it won't add any bulk to the interface (in terms of h