Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Is HTML5 Live Streaming A Possibility?


I've been able to get live streaming working in Flash to the desktop with fallback to HTML5 on iOS. It's simple enough using the "modes" functionality in the JW Player.

See Flash First:

bc.. <html>
<head>
<title>JW Player Fallback</title>
</head>

<body>
<script type='text/javascript' src='jwplayer.js'></script>

<div id='mediaplayer'></div>

<script type="text/javascript">
jwplayer('mediaplayer').setup({
'id': 'playerID',
'width': '640',
'height': '480',
'provider': 'rtmp',
'streamer': 'rtmp://[server]:1935/live',
'file': 'myStream',
'modes': [
{type: 'flash', src: '/jwplayer/player.swf'},
{type: 'html5', config:
{
'file': "http://[server]:1935/live/mp4:myStream/playlist.m3u8",
provider: 'video'
}
}
]
});
</script>
</body>
</html>



Yet, if I do HTML5-first for my live stream, iOS has no objections, but none of my browsers work. That is, presumably, because live streaming HTML5 video to iOS isn't the same as live streaming HTML5 video to Chrome or Firefox or IE or even Android.

See HTML5 First:

bc.. <html>
<head>
<title>JW Player Fallback</title>
</head>

<body>
<script type='text/javascript' src='jwplayer.js'></script>

<div id='mediaplayer'></div>

<script type="text/javascript">
jwplayer('mediaplayer').setup({
'id': 'playerID',
'width': '640',
'height': '480',
'provider': 'rtmp',
'streamer': 'rtmp://[server]:1935/live',
'file': 'myStream',
'modes': [
{type: 'html5', config:
{
'file': "http://[server]:1935/live/mp4:myStream/playlist.m3u8",
provider: 'video'
}
}
{type: 'flash', src: '/jwplayer/player.swf'},
]
});
</script>
</body>
</html>



So my question is: Can you live stream HTML5 video to anything other than iOS? Or are you still limited to Flash for live streaming on the desktop?

7 Community Answers

JW Player

User  
0 rated :

you can do live streaming to IOS into HTML5 jwplayer, that's what I a doing from a Wowza server) but it seems that you define the flash rtmp before , why don't you define the flash rtmp inside the flash type ( as you define the http video inside the html5

JW Player

User  
0 rated :

That's a moot point. I want live HTML5 to the desktop (Chrome, Firefox, IE, etc.) Not Flash. Can I do that?

Ethan Feldman

JW Player Support Agent  
0 rated :

Not yet, it really isn’t ready yet among all browsers. RTMP is the best for desktops still at the moment, but HLS is coming and we are working on it.

JW Player

User  
0 rated :

Thanks Ethan. That's what I was afraid of.

Ethan Feldman

JW Player Support Agent  
0 rated :

Np

JW Player

User  
0 rated :

Hey quick question! Please correct me if I'm wrong.
So I know I can live stream to iOS using HLS (modes, m3u8) from rtmp wowza server.
My question is can HLS live stream to other html5 devices such as Android (without flash) or Windows surface that does not support m3u8? I tried but it's not working.

My second question is, how can I live stream to these html5 devices (Android without flash and Windows suface and other HTML5 browser)?
I'm currently using h264, aac, and Flash Media Live Encoder.
Can I live stream from wowza using JW6 paid edition (which supports HLS)?
Or what do I need(server, encoder, jw6, etc?) to live stream h264, aac to these devices and browsers?

Am I missing something?

Ethan Feldman

JW Player Support Agent  
0 rated :

It depends on the device. Only Android 3+ supports this, and I don’t believe that Win supports m3u8 at all…

This question has received the maximum number of answers.