Live video streaming in HTML 5 format

I am looking for a way to stream my live video from camera to flash to a media server and display that video in HTML 5 format.

I have already gone through this tutorial . This is related to video on demand, but I need to stream live video captured from the camera in HTML 5.

Is it possible to stream video to HTML5 player?

+3


source to share


1 answer


Maybe using HTML5 tag.

Here's an example:

<video width="640" height="480" id="video" autoplay>
    <source src="http://myserver.com/hls-live/livepkgr/_definst_/liveevent/mystream.m3u8" type="vnd.apple.mpegURL" />
    HTML5 video not supported.
</video>

      



The url used here is important - this is the stream url format:

http: // [domain] / hls-live / livepkgr / [appinstance] / [event] / [streamname] .m3u8

0


source







All Articles