From 07f8f46e8ae734c4169caab0731e0497b6e00c04 Mon Sep 17 00:00:00 2001 From: xia-chu <771730766@qq.com> Date: Thu, 16 Oct 2025 20:16:11 +0800 Subject: [PATCH] =?UTF-8?q?=E9=BB=98=E8=AE=A4=E8=BE=93=E5=87=BA=E5=A2=9E?= =?UTF-8?q?=E5=BC=BA=E5=9E=8Brtmp=E5=8D=8F=E8=AE=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- conf/config.ini | 4 ++-- src/Common/config.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/conf/config.ini b/conf/config.ini index 6823b14f..40c9cf39 100644 --- a/conf/config.ini +++ b/conf/config.ini @@ -297,8 +297,8 @@ port=1935 sslport=0 # rtmp是否直接代理模式 directProxy=1 -#h265 rtmp打包采用增强型rtmp标准还是国内拓展标准 -enhanced=0 +#h265/opus/vp8/vp9/av1 rtmp打包采用增强型rtmp标准还是国内拓展标准 +enhanced=1 [rtp] #音频mtu大小,该参数限制rtp最大字节数,推荐不要超过1400 diff --git a/src/Common/config.cpp b/src/Common/config.cpp index 6726f843..5810454b 100644 --- a/src/Common/config.cpp +++ b/src/Common/config.cpp @@ -256,7 +256,7 @@ static onceToken token([]() { mINI::Instance()[kHandshakeSecond] = 15; mINI::Instance()[kKeepAliveSecond] = 15; mINI::Instance()[kDirectProxy] = 1; - mINI::Instance()[kEnhanced] = 0; + mINI::Instance()[kEnhanced] = 1; }); } // namespace Rtmp