mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-26 04:31:37 +08:00
默认关闭rtmp时间戳覆盖
This commit is contained in:
parent
236dc46b82
commit
97ad062dcf
@ -144,7 +144,7 @@ handshakeSecond=15
|
|||||||
#或者tcp发送缓存超过这个时间,则会断开连接,单位秒
|
#或者tcp发送缓存超过这个时间,则会断开连接,单位秒
|
||||||
keepAliveSecond=15
|
keepAliveSecond=15
|
||||||
#在接收rtmp推流时,是否重新生成时间戳(很多推流器的时间戳着实很烂)
|
#在接收rtmp推流时,是否重新生成时间戳(很多推流器的时间戳着实很烂)
|
||||||
modifyStamp=1
|
modifyStamp=0
|
||||||
#rtmp服务器监听端口
|
#rtmp服务器监听端口
|
||||||
port=1935
|
port=1935
|
||||||
|
|
||||||
|
@ -178,7 +178,7 @@ const string kHandshakeSecond = RTMP_FIELD"handshakeSecond";
|
|||||||
const string kKeepAliveSecond = RTMP_FIELD"keepAliveSecond";
|
const string kKeepAliveSecond = RTMP_FIELD"keepAliveSecond";
|
||||||
|
|
||||||
onceToken token([](){
|
onceToken token([](){
|
||||||
mINI::Instance()[kModifyStamp] = true;
|
mINI::Instance()[kModifyStamp] = false;
|
||||||
mINI::Instance()[kHandshakeSecond] = 15;
|
mINI::Instance()[kHandshakeSecond] = 15;
|
||||||
mINI::Instance()[kKeepAliveSecond] = 15;
|
mINI::Instance()[kKeepAliveSecond] = 15;
|
||||||
},nullptr);
|
},nullptr);
|
||||||
|
Loading…
Reference in New Issue
Block a user