简体   繁体   中英

how to make RTSP request in html5 or in javascript?

How to make request "rtsp:\/\/localhost:554\/sample_100kbit.mp4"? (in HTML5 or Javascript) I want to access video streaming data which source is present on Darwin server

"

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.

Flash supports streaming using their own protocol (RTMP) and there are products available that will proxy between RTSP and 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解决方案

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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