From 9b951ab69a029524f7c33c8b7d73c108a2864cf8 Mon Sep 17 00:00:00 2001 From: xia-chu <771730766@qq.com> Date: Tue, 20 Apr 2021 17:32:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=95track=E6=83=85=E5=86=B5=E4=B8=8B?= =?UTF-8?q?=E6=9C=80=E5=A4=9A=E7=AD=89=E5=BE=853=E7=A7=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Common/MediaSink.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Common/MediaSink.cpp b/src/Common/MediaSink.cpp index 782b6e3b..96e5427b 100644 --- a/src/Common/MediaSink.cpp +++ b/src/Common/MediaSink.cpp @@ -13,8 +13,8 @@ //最多等待未初始化的Track 10秒,超时之后会忽略未初始化的Track #define MAX_WAIT_MS_READY 10000 -//如果添加Track,最多等待5秒 -#define MAX_WAIT_MS_ADD_TRACK 5000 +//如果直播流只有单Track,最多等待3秒,超时后未收到其他Track的数据,则认为是单Track +#define MAX_WAIT_MS_ADD_TRACK 3000 namespace mediakit{