Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
3.5k views
in Technique[技术] by (71.8m points)

flvjs插件在vue中怎么能播放 rtmp 视频流监控视频?

image
image
在vue脚手架中引入了 flvjs 播放视频流 rtmp 文件,引入得flvjs 版本号是 1.5.0 ,
视频流在浏览器打开插件是能直接播放得,但是在项目中就会报错,看起来像是跨域,但是在浏览器是可以直接访问得。
提供湖南卫视得视频流 rtmp://58.200.131.2:1935/livetv/hunantv
希望大佬可以帮我解决一下这个问题。万分感谢


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

rtmp得用flash播放,web标准不支持这个协议


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...