UDP addresses in html5
I am a n开发者_StackOverflow中文版ewbie 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 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.
精彩评论