完成rtmp复用器

This commit is contained in:
xiongziliang
2018-10-25 15:30:44 +08:00
parent fd65c4b64c
commit 2504b05e7d
5 changed files with 241 additions and 2 deletions

View File

@@ -93,7 +93,7 @@ void RtspMuxer::inputFrame(const Frame::Ptr &frame) {
bool RtspMuxer::inputRtp(const RtpPacket::Ptr &rtp, bool key_pos) {
_rtpRing->write(rtp,key_pos);
return true;
return key_pos;
}
RtpRingInterface::RingType::Ptr RtspMuxer::getRtpRing() const {