streaming - How to stream live video in HTML5? -


i'm looking way broadcast live video taken webcam or camera rooted pc. broadcast should displayed in html5 page using tag (which support rtp, , rtsp think).

the user viewing stream should not have install plug-in or video player such quicktime.

i need video in mp4 format such as: rtsp://www.mywebsite/streaming/video.mp4

this link i'd put src of html 5 video tag.

so i'd know if it's possible, options such things.

it's possible. have major problems if you're looking cross browser support. can offer html5 video browsers supporting , offer quicktime browsers not supporting it.

<video src="stream.mp4">      <!-- don't support <video> -->     <object>         <param name="src" value="video.mp4" />         
    <param name="autoplay" value="true" />         
    <param name="type" value="video/quicktime" height="256" width="320" />         
    
    <embed src="video.mp4" height="256" width="320" autoplay="true" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/" />     </object>  </video> 

also see: streaming via rtsp or rtp in html5


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -