Created 延时测试 (markdown)

夏楚
2019-09-05 12:08:39 +08:00
parent c8a304392e
commit 5711d521fe

45
延时测试.md Normal file

@@ -0,0 +1,45 @@
## 网络环境
- `localhost`
## 操作系统
- `macOS`
## 服务器
- `MediaServer`,启动参数 `-t 1` ,单线程启动
- 配置文件打开`ultraLowDelay`模式
## 推流器
- `obs` rtmp推流到localhost
- `速率控制`·CBR`
- `比特率`: 2500
- `自定义缓存大小`: 100
- `关键帧将`2秒
- `CPU使用预设`: `ultrafast`
- `profile`: `baseline`
- `Tune`: `zerolatency`
- `分辨率`: 1280x720
- `fps`: 30
![image](https://user-images.githubusercontent.com/11495632/64311220-daf53f00-cfd5-11e9-8d1f-c39d95c335c4.png)
## 播放器
- 内置test_player
- localhost播放rtsp(udp、tcp模式都测试)或rtmp
## 测试方法
- 打开浏览器,打开在线秒表网页 https://miaobiao.51240.com/
- 设置OBS截取浏览器秒表部分图像开始推流给MediaServer
- 打开test_player播放对应的rtsp或rtmp url
- 使用截图工具定格画面并对比网页与test_player播放器画面在线秒表时间差
## 测试结果
- 播放rtmp,延时200ms ~ 400ms
![image](https://user-images.githubusercontent.com/11495632/64311009-0af01280-cfd5-11e9-9117-2f520db0b70f.png)
![image](https://user-images.githubusercontent.com/11495632/64311040-2b1fd180-cfd5-11e9-8526-675d5d40d746.png)
- 播放rtsp(tcp模式),延时200ms ~ 400ms
![image](https://user-images.githubusercontent.com/11495632/64311126-76d27b00-cfd5-11e9-89e4-59e9cb15b8bc.png)
![image](https://user-images.githubusercontent.com/11495632/64311161-9b2e5780-cfd5-11e9-96dd-5ab7eecc83ca.png)
- 播放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)