Refine: 提高拉流压测工具性能与正确性

This commit is contained in:
ziyue 2021-11-24 15:38:20 +08:00
parent 3a99440296
commit 5b916101d9

View File

@ -142,6 +142,8 @@ int main(int argc, char *argv[]) {
(*player)[kBenchmarkMode] = true; (*player)[kBenchmarkMode] = true;
//设置rtsp拉流方式(在rtsp拉流时有效) //设置rtsp拉流方式(在rtsp拉流时有效)
(*player)[kRtpType] = rtp_type; (*player)[kRtpType] = rtp_type;
//提高压测性能与正确性
(*player)[Client::kWaitTrackReady] = false;
//发起播放请求 //发起播放请求
player->play(in_url); player->play(in_url);