Skip to content

Commit

Permalink
Ignore unknown JingleTransportItems
Browse files Browse the repository at this point in the history
  • Loading branch information
FriedrichAltheide committed Oct 3, 2023
1 parent aea8312 commit a9c8cac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions rust/sdp-to-jingle/src/xep_0167.rs
Original file line number Diff line number Diff line change
Expand Up @@ -872,6 +872,7 @@ impl JingleRtpSessions {
candidate.to_sdp(transport.get_ufrag())?,
))?;
}
JingleTransportItems::Invalid => {}
}
}
}
Expand Down
2 changes: 2 additions & 0 deletions rust/sdp-to-jingle/src/xep_0176.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ impl JingleTransport {
pub enum JingleTransportItems {
Fingerprint(JingleTranportFingerprint),
Candidate(JingleTransportCandidate),
#[serde(other)]
Invalid,
}

// *** xep-0176
Expand Down

0 comments on commit a9c8cac

Please sign in to comment.