简体   繁体   English

"如何在 html5 或 javascript 中发出 RTSP 请求?"

[英]how to make RTSP request in html5 or in javascript?

How to make request "rtsp:\/\/localhost:554\/sample_100kbit.mp4"?如何发出请求“rtsp:\/\/localhost:554\/sample_100kbit.mp4”? (in HTML5 or Javascript) I want to access video streaming data which source is present on Darwin server (在 HTML5 或 Javascript 中)我想访问 Darwin 服务器上存在源的视频流数据

"

I don't believe it's possible without an additional browser plugin. 我认为没有附加的浏览器插件是不可能的。

The <video> tag in HTML5 requires the content to be served over HTTP. HTML5中的<video>标记要求通过HTTP提供内容。

Flash supports streaming using their own protocol (RTMP) and there are products available that will proxy between RTSP and RTMP. Flash支持使用自己的协议(RTMP)进行流传输,并且有可用的产品可以在RTSP和RTMP之间进行代理。 However that would require you to run your own server and provision the bandwidth between user -> proxy -> content. 但是,这将需要您运行自己的服务器并在用户->代理->内容之间设置带宽。

HTML5不支持rtsp URL,也许MSE或WebRTC可以帮助参考针对JavaScript / HTML5的RTSP解决方案

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM