Merge pull request #46 from unrelentingtech/interleaved

Allow interleaved data on RTP as well
This commit is contained in:
Scott Lamb 2021-12-29 10:11:08 -08:00 committed by GitHub
commit 0178e7fbc2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -798,16 +798,15 @@ impl RtspConnection {
} else if let (ResponseMode::Play, Some(m)) = } else if let (ResponseMode::Play, Some(m)) =
(&mode, self.channels.lookup(d.channel_id())) (&mode, self.channels.lookup(d.channel_id()))
{ {
if m.channel_type == ChannelType::Rtcp { debug!(
debug!( "ignoring interleaved data message on {:?} channel {} while \
"ignoring interleaved data message on RTCP channel {} while \
waiting for response to {} CSeq {}", waiting for response to {} CSeq {}",
d.channel_id(), m.channel_type,
method, d.channel_id(),
cseq method,
); cseq
continue; );
} continue;
} }
if let Some(session_group) = options.session_group.as_ref() { if let Some(session_group) = options.session_group.as_ref() {