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,17 +798,16 @@ 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 RTCP channel {} while \ "ignoring interleaved data message on {:?} channel {} while \
waiting for response to {} CSeq {}", waiting for response to {} CSeq {}",
m.channel_type,
d.channel_id(), d.channel_id(),
method, method,
cseq cseq
); );
continue; continue;
} }
}
if let Some(session_group) = options.session_group.as_ref() { if let Some(session_group) = options.session_group.as_ref() {
session_group.note_stale_live555_data(); session_group.note_stale_live555_data();