Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to play HTTP Live Streaming video within Flash platform designed for iOS? (.m3u8 playlist)

We're using HTTP live streaming service designed for Apple's iOS devices. It's working well with iOS devices currently.

Source video fragments are stored in server formatted in H.264 and with MPEG2(.ts) container. Is there a way to play these video in Flash platform?


These are my current investigations.

  1. As I know, Adobe offers their own streaming format F4F, anyway we already decided not to go for it.

  2. There is OSMF framework and an implementation. http://code.google.com/p/apple-http-osmf/

Option #2 looks good. But I have no idea about how can I use it. How can I use this? What's OSMF? Is it possible to run in standard Flash Player for web browsers? And is it work smoothly like in iOS? (smoothly means no struggling) If you have used this OSMF stuff for this purpose, please let me know!


P.S.

I'm finding client-side method primarily. We prefer progressive download if this is impossible in Flash Player.

like image 518
eonil Avatar asked Sep 09 '11 06:09

eonil


People also ask

What is M3U8 streaming?

M3U (or M3U8) is a plain text file format originally created to organize collections of MP3 files. The format is extended for HLS, where it's used to define media streams.

What is HTTP live streaming protocol?

HTTP Live Streaming (also known as HLS) is an HTTP-based adaptive bitrate streaming communications protocol developed by Apple Inc. and released in 2009. Support for the protocol is widespread in media players, web browsers, mobile devices, and streaming media servers.

Is HLS good for streaming?

Unlike other streaming formats, HLS is compatible with a wide range of devices and firewalls. However, latency (or lag time) tends to be in the 15-30 second range with HLS live streams. That is why you need to use other tools to get quick HLS streaming.


1 Answers

The latest version of JWPlayer (version 6) supports playing HLS streams in Flash for desktop machines, and in HTML5 mode for iOS. Relevant links:

  • http://www.longtailvideo.com/jw-player/hls-rtmp-live-streaming/
  • http://www.longtailvideo.com/support/jw-player/29393/hls-adaptive-stream/
  • http://www.longtailvideo.com/support/jw-player/28856/using-apple-hls-streaming/

If anyone knows other players which support playing HLS streams in flash, please let me know.

Update: Found few non-free solutions to play HLS in flash:

http://www.uplynk.com/

http://onlinelib.de/ (have separate licensed plugin for SMP)

http://www.unified-streaming.com/

Another One: http://flowplayer.electroteque.org/httpstreaminghls

like image 101
John Avatar answered Sep 21 '22 14:09

John