mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-03-11 16:40:53 +08:00
Player: 不等待track ready,加快秒开速度
This commit is contained in:
@@ -113,6 +113,8 @@ int main(int argc, char *argv[]) {
|
||||
});
|
||||
|
||||
(*player)[kRtpType] = atoi(argv[2]);
|
||||
//不等待track ready再回调播放成功事件,这样可以加快秒开速度
|
||||
(*player)[Client::kWaitTrackReady] = false;
|
||||
player->play(argv[1]);
|
||||
SDLDisplayerHelper::Instance().runLoop();
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user