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

局域网播放延时问题 #21

Closed
xfirefly opened this issue Apr 3, 2020 · 2 comments
Closed

局域网播放延时问题 #21

xfirefly opened this issue Apr 3, 2020 · 2 comments

Comments

@xfirefly
Copy link

xfirefly commented Apr 3, 2020

谢谢作者的开源代码, 我尝试用该库作为发送端, 接收端用ffmpeg 播放, 延时比较高, 如果要降低延时, 请问该从哪方面入手?
用rtp over udp 理论上有没有可能改善? 非常感谢

@PHZ76
Copy link
Owner

PHZ76 commented Apr 7, 2020

你好,如果要降低延时,最好是使用硬件编码,客户端不要缓冲,自己实现解码和渲染,这套流程在局域网内基本在100ms以下了。

@xfirefly
Copy link
Author

xfirefly commented Apr 8, 2020

谢谢, 目前用的软编, tcp nodelay 发送视频流, 局域网在200ms 左右

@xfirefly xfirefly closed this as completed Apr 8, 2020
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