video - Streaming via RTSP or RTP in HTML5 -


i'm building web app should play rtsp/rtp stream server http://lscube.org/projects/feng.

does html5 video/audio tag support rtsp or rtp? if not, easiest solution be? perhaps drop down vlc plugin or that.

technically 'yes'

(but not really...)

html 5's <video> tag protocol agnostic—it not care. place protocol in src attribute part of url. e.g.:

<video src="rtp://myserver.com/path/to/stream">     browser not support video tag and/or rtp streams. </video> 

or maybe

<video src="http://myserver.com:1935/path/to/stream/myplaylist.m3u8">     browser not support video tag and/or rtp streams. </video> 

that said, implementation of <video> tag browser specific. since days html 5, expect changing support (or lack of support).

from w3c's html5 spec (the video element):

user agents may support video , audio codecs , container formats


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -