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)) =
(&mode, self.channels.lookup(d.channel_id()))
{
if m.channel_type == ChannelType::Rtcp {
debug!(
"ignoring interleaved data message on RTCP channel {} while \
debug!(
"ignoring interleaved data message on {:?} channel {} while \
waiting for response to {} CSeq {}",
d.channel_id(),
method,
cseq
);
continue;
}
m.channel_type,
d.channel_id(),
method,
cseq
);
continue;
}
if let Some(session_group) = options.session_group.as_ref() {