添加MIT协议,完善代码

This commit is contained in:
xiongziliang
2018-10-25 10:00:17 +08:00
parent d70d9bca21
commit b3f3c854f0
26 changed files with 625 additions and 105 deletions

View File

@@ -71,7 +71,7 @@ RtspDemuxer::RtspDemuxer(const string& sdp) {
}
bool RtspDemuxer::inputRtp(const RtpPacket::Ptr & rtp) {
switch (rtp->getTrackType()) {
switch (rtp->type) {
case TrackVideo:{
if(_videoRtpDecoder){
return _videoRtpDecoder->inputRtp(rtp, true);