diff --git a/xmpp-parsers/doap.xml b/xmpp-parsers/doap.xml
index d67f3420..48c0df9a 100644
--- a/xmpp-parsers/doap.xml
+++ b/xmpp-parsers/doap.xml
@@ -220,7 +220,7 @@
complete
- 1.1.1
+ 1.2.0
0.13.0
diff --git a/xmpp-parsers/src/jingle_rtp.rs b/xmpp-parsers/src/jingle_rtp.rs
index 893be1ab..622a3689 100644
--- a/xmpp-parsers/src/jingle_rtp.rs
+++ b/xmpp-parsers/src/jingle_rtp.rs
@@ -1,4 +1,4 @@
-// Copyright (c) 2019 Emmanuel Gil Peyrot
+// Copyright (c) 2019-2020 Emmanuel Gil Peyrot
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -7,6 +7,14 @@
use crate::jingle_rtcp_fb::RtcpFb;
use crate::jingle_ssma::{Group, Source};
+generate_empty_element!(
+ /// Specifies the ability to multiplex RTP Data and Control Packets on a single port as
+ /// described in RFC 5761.
+ RtcpMux,
+ "rtcp-mux",
+ JINGLE_RTP
+);
+
generate_element!(
/// Wrapper element describing an RTP session.
Description, "description", JINGLE_RTP,
@@ -23,6 +31,10 @@ generate_element!(
/// List of encodings that can be used for this RTP stream.
payload_types: Vec = ("payload-type", JINGLE_RTP) => PayloadType,
+ /// Specifies the ability to multiplex RTP Data and Control Packets on a single port as
+ /// described in RFC 5761.
+ rtcp_mux: Option = ("rtcp-mux", JINGLE_RTP) => RtcpMux,
+
/// List of ssrc-group.
ssrc_groups: Vec = ("ssrc-group", JINGLE_SSMA) => Group,
@@ -40,6 +52,7 @@ impl Description {
media,
ssrc: None,
payload_types: Vec::new(),
+ rtcp_mux: None,
ssrc_groups: Vec::new(),
ssrcs: Vec::new(),
}