From 5b916101d9efec9c793d905a4e325a5e6d6a32ad Mon Sep 17 00:00:00 2001 From: ziyue <1213642868@qq.com> Date: Wed, 24 Nov 2021 15:38:20 +0800 Subject: [PATCH] =?UTF-8?q?Refine:=20=E6=8F=90=E9=AB=98=E6=8B=89=E6=B5=81?= =?UTF-8?q?=E5=8E=8B=E6=B5=8B=E5=B7=A5=E5=85=B7=E6=80=A7=E8=83=BD=E4=B8=8E?= =?UTF-8?q?=E6=AD=A3=E7=A1=AE=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/test_bench_pull.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_bench_pull.cpp b/tests/test_bench_pull.cpp index e2593972..5df13c41 100644 --- a/tests/test_bench_pull.cpp +++ b/tests/test_bench_pull.cpp @@ -142,6 +142,8 @@ int main(int argc, char *argv[]) { (*player)[kBenchmarkMode] = true; //设置rtsp拉流方式(在rtsp拉流时有效) (*player)[kRtpType] = rtp_type; + //提高压测性能与正确性 + (*player)[Client::kWaitTrackReady] = false; //发起播放请求 player->play(in_url);