From 74b30d5f7166f608f378621a722d775f51266e4e Mon Sep 17 00:00:00 2001 From: Greg V Date: Tue, 28 Dec 2021 22:46:36 +0300 Subject: [PATCH] Allow interleaved data on RTP as well This is necessary for at least some versions of https://github.com/mpromonet/v4l2rtspserver --- src/client/mod.rs | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/src/client/mod.rs b/src/client/mod.rs index df1b57a..b53cb4b 100644 --- a/src/client/mod.rs +++ b/src/client/mod.rs @@ -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() {