Streaming via RTSP or RTP in HTML5

后端 未结 8 2255
时光说笑
时光说笑 2020-11-22 16:05

I\'m building a web app that should play back an RTSP/RTP stream from a server http://lscube.org/projects/feng.

Does the HTML5 video/audio tag suppo

8条回答
  •  时光说笑
    2020-11-22 16:24

    Technically 'Yes'

    (but not really...)

    HTML 5's tag is protocol agnostic—it does not care. You place the protocol in the src attribute as part of the URL. E.g.:

    
    

    or maybe

    
    

    That said, the implementation of the tag is browser specific. Since it is early days for HTML 5, I expect frequently changing support (or lack of support).

    From the W3C's HTML5 spec (The video element):

    User agents may support any video and audio codecs and container formats

提交回复
热议问题