From 4a7d17334c218ee7f01739f5f1ebc60f1dd561c4 Mon Sep 17 00:00:00 2001 From: xiongziliang <771730766@qq.com> Date: Tue, 14 Jan 2020 10:29:27 +0800 Subject: [PATCH] =?UTF-8?q?rtsp=E4=B8=8D=E5=85=81=E8=AE=B8=E8=A6=86?= =?UTF-8?q?=E7=9B=96=E6=97=B6=E9=97=B4=E6=88=B3(pts)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- conf/config.ini | 2 -- src/Common/config.cpp | 2 -- src/Common/config.h | 2 -- 3 files changed, 6 deletions(-) diff --git a/conf/config.ini b/conf/config.ini index 8010e4e8..c158d843 100644 --- a/conf/config.ini +++ b/conf/config.ini @@ -191,8 +191,6 @@ keepAliveSecond=15 port=554 #rtsps服务器监听地址 sslport=322 -#在接收rtsp推流时,是否重新生成时间戳(很多推流器的时间戳着实很烂) -modifyStamp=0 [shell] #调试telnet服务器接受最大bufffer大小 diff --git a/src/Common/config.cpp b/src/Common/config.cpp index 74e92e72..89ad9bbf 100644 --- a/src/Common/config.cpp +++ b/src/Common/config.cpp @@ -158,7 +158,6 @@ const string kAuthBasic = RTSP_FIELD"authBasic"; const string kHandshakeSecond = RTSP_FIELD"handshakeSecond"; const string kKeepAliveSecond = RTSP_FIELD"keepAliveSecond"; const string kDirectProxy = RTSP_FIELD"directProxy"; -const string kModifyStamp = RTSP_FIELD"modifyStamp"; onceToken token([](){ //默认Md5方式认证 @@ -166,7 +165,6 @@ onceToken token([](){ mINI::Instance()[kHandshakeSecond] = 15; mINI::Instance()[kKeepAliveSecond] = 15; mINI::Instance()[kDirectProxy] = 1; - mINI::Instance()[kModifyStamp] = false; },nullptr); } //namespace Rtsp diff --git a/src/Common/config.h b/src/Common/config.h index 7cadbf70..d8d51e35 100644 --- a/src/Common/config.h +++ b/src/Common/config.h @@ -232,8 +232,6 @@ extern const string kKeepAliveSecond; //假定您的拉流源地址不是264或265或AAC,那么你可以使用直接代理的方式来支持rtsp代理 //默认开启rtsp直接代理,rtmp由于没有这些问题,是强制开启直接代理的 extern const string kDirectProxy; -//rtsp推流是否修改时间戳 -extern const string kModifyStamp; } //namespace Rtsp ////////////RTMP服务器配置///////////