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);