rtp代理防止时间戳回环

This commit is contained in:
xiongziliang
2019-12-13 15:42:12 +08:00
parent fbf0f63503
commit bd8a9a78e8
2 changed files with 8 additions and 3 deletions

View File

@@ -33,6 +33,7 @@
#include "RtpDecoder.h"
#include "PSDecoder.h"
#include "Common/Device.h"
#include "Common/Stamp.h"
using namespace mediakit;
namespace mediakit{
@@ -72,6 +73,7 @@ private:
MultiMediaSourceMuxer::Ptr _muxer;
std::shared_ptr<FrameMerger> _merger;
Ticker _last_rtp_time;
map<int,Stamp> _stamps;
};
}//namespace mediakit