mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-23 03:10:04 +08:00
rtsp不允许覆盖时间戳(pts)
This commit is contained in:
parent
d8dbf43490
commit
4a7d17334c
@ -191,8 +191,6 @@ keepAliveSecond=15
|
|||||||
port=554
|
port=554
|
||||||
#rtsps服务器监听地址
|
#rtsps服务器监听地址
|
||||||
sslport=322
|
sslport=322
|
||||||
#在接收rtsp推流时,是否重新生成时间戳(很多推流器的时间戳着实很烂)
|
|
||||||
modifyStamp=0
|
|
||||||
|
|
||||||
[shell]
|
[shell]
|
||||||
#调试telnet服务器接受最大bufffer大小
|
#调试telnet服务器接受最大bufffer大小
|
||||||
|
@ -158,7 +158,6 @@ const string kAuthBasic = RTSP_FIELD"authBasic";
|
|||||||
const string kHandshakeSecond = RTSP_FIELD"handshakeSecond";
|
const string kHandshakeSecond = RTSP_FIELD"handshakeSecond";
|
||||||
const string kKeepAliveSecond = RTSP_FIELD"keepAliveSecond";
|
const string kKeepAliveSecond = RTSP_FIELD"keepAliveSecond";
|
||||||
const string kDirectProxy = RTSP_FIELD"directProxy";
|
const string kDirectProxy = RTSP_FIELD"directProxy";
|
||||||
const string kModifyStamp = RTSP_FIELD"modifyStamp";
|
|
||||||
|
|
||||||
onceToken token([](){
|
onceToken token([](){
|
||||||
//默认Md5方式认证
|
//默认Md5方式认证
|
||||||
@ -166,7 +165,6 @@ onceToken token([](){
|
|||||||
mINI::Instance()[kHandshakeSecond] = 15;
|
mINI::Instance()[kHandshakeSecond] = 15;
|
||||||
mINI::Instance()[kKeepAliveSecond] = 15;
|
mINI::Instance()[kKeepAliveSecond] = 15;
|
||||||
mINI::Instance()[kDirectProxy] = 1;
|
mINI::Instance()[kDirectProxy] = 1;
|
||||||
mINI::Instance()[kModifyStamp] = false;
|
|
||||||
},nullptr);
|
},nullptr);
|
||||||
} //namespace Rtsp
|
} //namespace Rtsp
|
||||||
|
|
||||||
|
@ -232,8 +232,6 @@ extern const string kKeepAliveSecond;
|
|||||||
//假定您的拉流源地址不是264或265或AAC,那么你可以使用直接代理的方式来支持rtsp代理
|
//假定您的拉流源地址不是264或265或AAC,那么你可以使用直接代理的方式来支持rtsp代理
|
||||||
//默认开启rtsp直接代理,rtmp由于没有这些问题,是强制开启直接代理的
|
//默认开启rtsp直接代理,rtmp由于没有这些问题,是强制开启直接代理的
|
||||||
extern const string kDirectProxy;
|
extern const string kDirectProxy;
|
||||||
//rtsp推流是否修改时间戳
|
|
||||||
extern const string kModifyStamp;
|
|
||||||
} //namespace Rtsp
|
} //namespace Rtsp
|
||||||
|
|
||||||
////////////RTMP服务器配置///////////
|
////////////RTMP服务器配置///////////
|
||||||
|
Loading…
Reference in New Issue
Block a user