From 5711d521fe14ba5106aa8c0b1adc69dd3d9fe97d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=8F=E6=A5=9A?= <771730766@qq.com> Date: Thu, 5 Sep 2019 12:08:39 +0800 Subject: [PATCH] =?UTF-8?q?Created=20=E5=BB=B6=E6=97=B6=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=20(markdown)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 延时测试.md | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 延时测试.md diff --git a/延时测试.md b/延时测试.md new file mode 100644 index 0000000..359e166 --- /dev/null +++ b/延时测试.md @@ -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)