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);