Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[技术咨询] 批量播放加载缓慢问题 #3501

Closed
xushuxiong opened this issue Apr 28, 2024 · 3 comments
Closed

[技术咨询] 批量播放加载缓慢问题 #3501

xushuxiong opened this issue Apr 28, 2024 · 3 comments

Comments

@xushuxiong
Copy link

ws-ts播放问题

  • 使用zlmediakit进行批量播放视频,建立ws等待时间长

  • 您好,我使用zlmediakit作为流媒体服务器进行摄像头视频流转发(基于rtsp),发现32个流地址同时播放时,ws连接等待时间长,画面一直转圈圈的问题,具体效果如视频所示(由于github无法上传超10M的文件,所以上传到图床,链接如下:https://mp4.ziyuan.wang/player.php?hash=da7784874fe4f38213d8428ec71a585c),配置文件如附件所示,请问是什么原因导致的,是需要进行其他配置修改吗?目前找不到排查方向,请大神帮忙看看,十分感谢!
    Uploading config.txt…

@xiongguangjie
Copy link
Member

看服务器的日志(一闪而过,应该使用了无人观看去拉流的特性),好像你你的信令服务器(控制ZLM拉rtsp流的服务),响应很慢,5s来响应玩,这个你要把服务器的日志上传才能分析,是咋回事,大概率是你的信令服务器阻塞了

@xushuxiong
Copy link
Author

看服务器的日志(一闪而过,应该使用了无人观看去拉流的特性),好像你你的信令服务器(控制ZLM拉rtsp流的服务),响应很慢,5s来响应玩,这个你要把服务器的日志上传才能分析,是咋回事,大概率是你的信令服务器阻塞了

我是同时播放32路ws,并且请求zlm已经是请求回来的,也就是有了32个播放地址,但是f12看ws请求里面的数据,确实卡顿的时候短暂没有刷,与此同时,在另一个客户端打开单路视频流也会出现卡顿转圈圈的现象,是因为ws播放的原因吗。

@xia-chu
Copy link
Member

xia-chu commented May 23, 2024

浏览器显示请求pendding了 应该是触发同源限制了
或者请求的这个流还没上线 zlm在hold这些链接

@xia-chu xia-chu closed this as completed May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants