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