在html5中的UDP地址 [英] UDP addresses in html5
问题描述
我是html5的新手,我试图在视频标签中包含一个UDP流(UDPaddress:port)。这可能吗。如果是的话,我们如何做到这一点?
简短回答:不,浏览器通常不支持UDP。 b
$ b
长答案 video 元素的章节规定 I am a newbie to html5 and i was trying to include a UDP stream(UDPaddress:port) within the video tag. Is this possible. If so how can we do this? Short answer: No, browsers generally don't support UDP. Long answer: The chapter on the 这篇关于在html5中的UDP地址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋! src
属性必须包含可能包围的有效非空网址空格,这实际上意味着它必须包含 URI 或 IRI 。
虽然这些规范没有说UDP不被支持( page 22 of URI RFC明确地说URI方案应该包含这方面的信息),虽然某些软件(如VLC)支持 udp://
URI方案,我不知道任何支持此功能的浏览器。 video
element in the standards states that the src
attribute must contain valid non-empty URL potentially surrounded by spaces, which in effect means that it must contain an URI or IRI.
While there is nothing in these specs that say UDP is unsupported (page 22 of the URI RFC explicitly says the URI scheme should contain information on this), and while certain software such as VLC support the udp://
URI scheme, I don't know of any browser supporting this.