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
4.6k views
in Technique[技术] by (71.8m points)

关于flv.js视频销毁问题

vue使用flv.js实现直播功能。
问题:离开页面时候需要销毁播放器,并停止请求码流,现在离开页面了,还一直请求码流。请问大神,这个问题改怎么解决?
vue中写的请求方法:
image.png
可以看到视频的端口一直在占用中(占用了,就一直在请求码流)
image.png
我这边写的销毁方法:
image.png
离开页面后,我再去查看端口,还在一直请求码流中
image.png


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

1 Answer

0 votes
by (71.8m points)

请问下,这问题解决了吗?


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

...