Wowza Community

Live streaming with HTML 5

I’m using wowza media server 2 to stream a live video feed to a custom flash player. The way the winds are blowing, it appears that flash maybe deprecated by HTML 5. Does wowza support streaming to a webpage using the html 5

It may be a bit premature to say that Flash will be depreciated… There are still a lot of unresolved issues with HTML5 - most notably a standardized choice of codecs and universal cross-browser support. However, Wowza Media Server today supports Apple HTML Live Streaming that plays directly in a Safari browser on the iPhone/iPod Touch and on Snow Leopard using HTML5 video tag. We’re following HTML5 closely and plan to introduce broader support as appropriate.

Excellent. If anyone wants to see a live demo with an iPad, visit us at the NAB Show next week in Las Vegas. Wowza is at booth #SU9310.

The only HTML5 streaming we support is what is described above by Dobrushin. There is just too much fragmentation between the browser capabilities at this time to do anything more comprehensive in a reasonable way.

Charlie

Because the Chrome browser does not support any of the forms of streaming that Wowza supports (Adobe RTMP, Microsoft Smooth Streaming, Apple HTTP Live Streaming, RTSP/RTP). I believe they only support progressive download.

Charlie

hi there

i just tryed this and it didn"t work, despite i didn’t had error messages on the server…anyway i’m sure it can work, and i’m sure lot of people would like their flash player to stream directly to ipod, not possible because of h264 and audio codecs used ny flash player. It seems possible to re-encode on the fly flash streams into h264 using ffmpeg and x264. Infos can be found at the following link: http://rob.opendot.cl/index.php/useful-stuff/ffmpeg-x264-encoding-guide/

i’ll work on this and tell you what’s going on. But now we almost get html 5 to play our live streams, my wonder is how to connect to remote sharedObjects using html 5…is it possible ? does someone has informations about that ? thank you very much.

hi richard thanks for your reply.

So i think it is impossible to dev an iphone app using sharedObject, or does xcode provide this possibility ? If not, i am wondering about the iphone: is it really useless ? :D:mad::confused:

It’s only used on the IPhone Safari browser, not web page.

Look at this post for live streaming, includes IPhone:

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

And this post for vod streaming, also includes IPhone

http://www.wowza.com/community/t/-/64

Richard

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).