diff options
author | Marvin W <git@larma.de> | 2021-03-29 13:19:52 +0200 |
---|---|---|
committer | Marvin W <git@larma.de> | 2021-03-29 13:19:52 +0200 |
commit | c7d1ee4dc5a08715ed68ed69e918f5ec9cbd4b40 (patch) | |
tree | 7a328d05375020c82e5368212d2b1c44676ac53b /xmpp-vala/src/module/xep/0167_jingle_rtp/stream.vala | |
parent | 9520a81b814103c5549982a7e9d4e9ec6d9035f6 (diff) | |
download | dino-c7d1ee4dc5a08715ed68ed69e918f5ec9cbd4b40.tar.gz dino-c7d1ee4dc5a08715ed68ed69e918f5ec9cbd4b40.zip |
Make RTCP-MUX a stream property
Diffstat (limited to 'xmpp-vala/src/module/xep/0167_jingle_rtp/stream.vala')
-rw-r--r-- | xmpp-vala/src/module/xep/0167_jingle_rtp/stream.vala | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/xmpp-vala/src/module/xep/0167_jingle_rtp/stream.vala b/xmpp-vala/src/module/xep/0167_jingle_rtp/stream.vala index 2fc29291..730ce9f8 100644 --- a/xmpp-vala/src/module/xep/0167_jingle_rtp/stream.vala +++ b/xmpp-vala/src/module/xep/0167_jingle_rtp/stream.vala @@ -37,6 +37,13 @@ public abstract class Xmpp.Xep.JingleRtp.Stream : Object { public bool receiving { get { return content.session.senders_include_counterpart(content.senders); }} + public bool rtcp_mux { get { + var content_params = content.content_params; + if (content_params is Parameters) { + return ((Parameters)content_params).rtcp_mux; + } + return false; + }} protected Stream(Jingle.Content content) { this.content = content; |