mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-26 12:37:09 +08:00
兼容rtp时间戳一直为0的流
This commit is contained in:
parent
0e3c21932d
commit
48a1f6ea6c
@ -48,7 +48,7 @@ void GB28181Process::onRtpSorted(const RtpPacket::Ptr &rtp, int) {
|
|||||||
WarnL << "rtp payload type未识别(" << (int) rtp->PT << "),已按ts或ps负载处理";
|
WarnL << "rtp payload type未识别(" << (int) rtp->PT << "),已按ts或ps负载处理";
|
||||||
}
|
}
|
||||||
//ts或ps负载
|
//ts或ps负载
|
||||||
_rtp_decoder = std::make_shared<CommonRtpDecoder>(CodecInvalid, 256 * 1024);
|
_rtp_decoder = std::make_shared<CommonRtpDecoder>(CodecInvalid, 32 * 1024);
|
||||||
//设置dump目录
|
//设置dump目录
|
||||||
GET_CONFIG(string, dump_dir, RtpProxy::kDumpDir);
|
GET_CONFIG(string, dump_dir, RtpProxy::kDumpDir);
|
||||||
if (!dump_dir.empty()) {
|
if (!dump_dir.empty()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user