mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-07-05 19:08:09 +08:00
添加MIT协议,完善代码
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user