UDP addresses in html5

主宰稳场 提交于 2019-12-13 15:22:17

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/7264660/udp-addresses-in-html5

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!