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

服务端150路并发,2m码率的音视频数据发送,造成ping消息延时发送8秒 #1130

Open
daimalvtu opened this issue Mar 22, 2024 · 6 comments

Comments

@daimalvtu
Copy link

No description provided.

@huyinguo
Copy link

我也有类似的问题,请问找到原因了吗?解决了吗?

@daimalvtu
Copy link
Author

我也有类似的问题,请问找到原因了吗?解决了吗?

你websocket线程数量开了多少

@huyinguo
Copy link

64线程 几路并发时延感觉不明显 60路并发时 client端延时增加到5秒

@daimalvtu
Copy link
Author

代码是给同一个wsserver对象设置了64个wsserver run线程吗?

@huyinguo
Copy link

两个io_context的线程池 一个用于wss 一个用于解码处理 wss端是8线程 解码处理端是64线程

@daimalvtu
Copy link
Author

你需要抓包分析ping消息是在Server端发送就已经延迟了,还是接收端的处理抛消息上来延迟。解码?我们只用来做数据传输,没有用来解码

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants