Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can html 5 serve real time media stream?

I've heard of many interesting features of html 5,

but is it able to serve real time media stream from web camera?

like image 620
user198729 Avatar asked Jun 09 '10 13:06

user198729


2 Answers

Not html5 on it's own but html5 video can read streams(like on youtube, live streaming).

Streaming via RTSP or RTP in HTML5 for some info

like image 105
nebkat Avatar answered Oct 20 '22 21:10

nebkat


HTML5 video is just a tag that looks like

<video src="movie.mp4" controls="controls">
    Your browser doesn't support the video tag.
</video>

(reference here)

Whatever that movie.mp4 actually contains is decided by the underlying server and may be streaming content as long as the format itself supports streaming. For example h.264's eXtended Profile and Scalable High Profile both support video streaming.

like image 24
Esko Avatar answered Oct 20 '22 21:10

Esko