From 49f674418e15cba52371fd972ee121c6e733ea48 Mon Sep 17 00:00:00 2001 From: ziyue <1213642868@qq.com> Date: Wed, 10 Nov 2021 15:30:31 +0800 Subject: [PATCH] =?UTF-8?q?Player:=20=E4=B8=8D=E7=AD=89=E5=BE=85track=20re?= =?UTF-8?q?ady=EF=BC=8C=E5=8A=A0=E5=BF=AB=E7=A7=92=E5=BC=80=E9=80=9F?= =?UTF-8?q?=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- player/test_player.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/player/test_player.cpp b/player/test_player.cpp index 995070c1..704e7237 100644 --- a/player/test_player.cpp +++ b/player/test_player.cpp @@ -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;