From beacbaeb86cf28f57f8cae956416bcf93c38b85e Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Wed, 27 Feb 2019 18:13:18 +0100 Subject: [PATCH] jingle_ice_udp: Add a new parser/serialiser for XEP-0176. --- src/lib.rs | 3 +++ src/ns.rs | 3 +++ 2 files changed, 6 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 773c120..fa1153f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -110,6 +110,9 @@ pub mod jingle_rtp; /// XEP-0172: User Nickname pub mod nick; +/// XEP-0176: Jingle ICE-UDP Transport Method +pub mod jingle_ice_udp; + /// XEP-0184: Message Delivery Receipts pub mod receipts; diff --git a/src/ns.rs b/src/ns.rs index f825d4d..321c6fa 100644 --- a/src/ns.rs +++ b/src/ns.rs @@ -92,6 +92,9 @@ pub const JINGLE_RTP_VIDEO: &str = "urn:xmpp:jingle:apps:rtp:video"; /// XEP-0172: User Nickname pub const NICK: &str = "http://jabber.org/protocol/nick"; +/// XEP-0176: Jingle ICE-UDP Transport Method +pub const JINGLE_ICE_UDP: &str = "urn:xmpp:jingle:transports:ice-udp:1"; + /// XEP-0184: Message Delivery Receipts pub const RECEIPTS: &str = "urn:xmpp:receipts";