Wowza Community

Live streaming with HTML 5

Use the live tutorial, the IPhone steps. This will work on HTML5 on Safari on IPhone, IPod Touch, IPad, and Mac’s running Snow Leopard.

Richard

Here you go:

<html> 
<head>
  <title>Your Video</title> 
</head> 
<body> 
<video src="http://[wowza-address]:1935/[appName]/[streamName]/playlist.m3u8"> 
</video> 
</body> 
</html>

Richard

Yes, but if it doesn’t, taking out your custom module and trying it without should be your first trouble-shooting step.

Richard

I have an IPhone 3gs (with latest OS) and it opens the quicktime player.

Richard

It should, sure.

Richard

SharedObjects won’t work with html5. You need Flash application.

Richard

Take a look at the ffmpeg and Expression 4 examples for good encoding references:

https://www.wowza.com/docs/how-to-encode-video-on-demand-content

FMLE records f4v locally that is fragmented. Wowza should be able to play those, but there is a tool from Adobe for flattening fragmented f4v that might help.

Richard

Wowza produces the playlist.m3u8, it only exists in memory and is delivered to iOS clients. You just need to encode and configure for Cupertino streaming.

Richard

There is not any time frame or news about these future feautures at present.

Richard

If it helps, I have successfully used mv4 for rebroadcast and VOD,and f4v for live.

haven’t tested iPad yet but plan to soon!

what goes in the playlist for iPad/iPhone support?

Example provide by Wowza Ref Guide:

http://[wowza-address]:1935/live/myStream.sdp/playlist.m3u8

This article does not explain how the playlist.m3u8 is to be configured - how do I tell it what file to play?

Article:

https://www.wowza.com/docs/how-to-set-up-live-streaming-using-an-rtmp-based-encoder

The only significant difference between M4V and F4V is whether it’s a Flash or a QuickTime container. Inside, it’s all H.264/AAC (AVC).

We just tried live http streaming to an iPad with html5 and it worked!

where can i get more information about setting up a stream that utilizes Apple HTTP Live Streaming. I need information about how to set it up on both the server and on the webpage that a user would view the stream from.

Then i`m really curious what HTML code you used Richard!

And how about if the stream is secure? Is that going to work?

Why is the video tag not supported in other browsers? e.g. Chrome - where I am able to “stream” via progressive downloads but not using wowza.

Thanks.

We use Wowza with custom module installed (i.e. Java code using your API) to secure RTMP streams via token validation. Can/could we use the same method to secure an HTML5 stream?

Many people are saying that Flash is doomed. “Too much of a CPU hog. Insecure. Proprietary.” etc. Rightly or wrongly we are being asked whether we can smoothly migrate to HTML5 when it takes over.

cgerrish, how did you get live streaming via HTML5 to work?

In Theory should this work if I have any custom Wowza modules installed?