mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-10-30 16:27:36 +08:00
Refine: 提高拉流压测工具性能与正确性
This commit is contained in:
parent
3a99440296
commit
5b916101d9
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user