diff --git a/rust/sdp-to-jingle/src/xep_0167.rs b/rust/sdp-to-jingle/src/xep_0167.rs index 6bac546bac..e70dfdf63e 100644 --- a/rust/sdp-to-jingle/src/xep_0167.rs +++ b/rust/sdp-to-jingle/src/xep_0167.rs @@ -872,6 +872,7 @@ impl JingleRtpSessions { candidate.to_sdp(transport.get_ufrag())?, ))?; } + JingleTransportItems::Invalid => {} } } } diff --git a/rust/sdp-to-jingle/src/xep_0176.rs b/rust/sdp-to-jingle/src/xep_0176.rs index d4d48e738c..34fffcdfcd 100644 --- a/rust/sdp-to-jingle/src/xep_0176.rs +++ b/rust/sdp-to-jingle/src/xep_0176.rs @@ -67,6 +67,8 @@ impl JingleTransport { pub enum JingleTransportItems { Fingerprint(JingleTranportFingerprint), Candidate(JingleTransportCandidate), + #[serde(other)] + Invalid, } // *** xep-0176