RTP proxy通过UDP收流,调整udp recv socket buffer size成配置 (#3336)

国标推流有些情况需要UDP方式接收流,端口复用同一个UDP端口可能需要根据服务器性能
This commit is contained in:
张传峰
2024-03-05 10:42:22 +08:00
committed by GitHub
parent 210894ed83
commit ffdc13bfb9
6 changed files with 18 additions and 5 deletions

View File

@@ -400,6 +400,8 @@ extern const std::string kGopCache;
//国标发送g711 rtp 打包时每个包的语音时长是多少默认是100 ms范围为20~180ms (gb28181-2016c.2.4规定)
//最好为20 的倍数程序自动向20的倍数取整
extern const std::string kRtpG711DurMs;
// udp recv socket buffer size
extern const std::string kUdpRecvSocketBuffer;
} // namespace RtpProxy
/**