Updated 延时测试 (markdown)

夏楚
2019-09-05 12:14:36 +08:00
parent 5711d521fe
commit b84e0a898e

@@ -43,3 +43,9 @@
- 播放rtsp(udp模式),延时200ms ~ 400ms
![image](https://user-images.githubusercontent.com/11495632/64311179-b600cc00-cfd5-11e9-953f-07e73c377df1.png)
![image](https://user-images.githubusercontent.com/11495632/64311187-c022ca80-cfd5-11e9-89b4-a015d614706e.png)
## 测试结论
- 在单线程下,播放器和推流器在同一个线程,没有跨线程切换问题,延时稍微稳定并低点
- 开启TCP_NODELAY关闭MSG_MORE在本轮测试中对优化延时效果不大
- 多次截图平均下来有300ms左右的延时最低200ms左右最高有400+ms
- 17年我自己写推流器的情况下最低延时能达到120ms左右目前根本达不到怀疑obs推流延时还是较高