From 97ad062dcf31dee59559797387d2bc41dd994a70 Mon Sep 17 00:00:00 2001 From: xiongziliang <771730766@qq.com> Date: Sun, 29 Dec 2019 12:16:02 +0800 Subject: [PATCH] =?UTF-8?q?=E9=BB=98=E8=AE=A4=E5=85=B3=E9=97=ADrtmp?= =?UTF-8?q?=E6=97=B6=E9=97=B4=E6=88=B3=E8=A6=86=E7=9B=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- conf/config.ini | 2 +- src/Common/config.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/config.ini b/conf/config.ini index c2e01d2b..e60dc830 100644 --- a/conf/config.ini +++ b/conf/config.ini @@ -144,7 +144,7 @@ handshakeSecond=15 #或者tcp发送缓存超过这个时间,则会断开连接,单位秒 keepAliveSecond=15 #在接收rtmp推流时,是否重新生成时间戳(很多推流器的时间戳着实很烂) -modifyStamp=1 +modifyStamp=0 #rtmp服务器监听端口 port=1935 diff --git a/src/Common/config.cpp b/src/Common/config.cpp index 764830a1..74e92e72 100644 --- a/src/Common/config.cpp +++ b/src/Common/config.cpp @@ -178,7 +178,7 @@ const string kHandshakeSecond = RTMP_FIELD"handshakeSecond"; const string kKeepAliveSecond = RTMP_FIELD"keepAliveSecond"; onceToken token([](){ - mINI::Instance()[kModifyStamp] = true; + mINI::Instance()[kModifyStamp] = false; mINI::Instance()[kHandshakeSecond] = 15; mINI::Instance()[kKeepAliveSecond] = 15; },nullptr);