rtsp and rtp h264 lowlatency mode config

This commit is contained in:
xiongguangjie
2022-10-19 14:20:53 +08:00
parent 4a51d6b488
commit 0d2e035215
5 changed files with 33 additions and 5 deletions

View File

@@ -251,6 +251,9 @@ extern const std::string kKeepAliveSecond;
// 假定您的拉流源地址不是264或265或AAC那么你可以使用直接代理的方式来支持rtsp代理
// 默认开启rtsp直接代理rtmp由于没有这些问题是强制开启直接代理的
extern const std::string kDirectProxy;
// rtsp 转发是否使用低延迟模式当开启时不会缓存rtp包来提高并发可以降低一帧的延迟
extern const std::string KLowLatency;
} // namespace Rtsp
////////////RTMP服务器配置///////////
@@ -271,6 +274,8 @@ extern const std::string kVideoMtuSize;
extern const std::string kAudioMtuSize;
// rtp包最大长度限制, 单位KB
extern const std::string kRtpMaxSize;
// rtp 打包时低延迟开关默认关闭为0h264存在一帧多个sliceNAL的情况在这种情况下如果开启可能会导致画面花屏
extern const std::string KLowLatency;
} // namespace Rtp
////////////组播配置///////////