diff options
author | Marvin W <git@larma.de> | 2021-04-29 15:46:06 +0200 |
---|---|---|
committer | Marvin W <git@larma.de> | 2021-04-29 15:53:59 +0200 |
commit | 3880628de4785db4c0a03a79a0c486507fe9b1a8 (patch) | |
tree | 488180882a2a60576c68e688b743acfaff8d32f7 /xmpp-vala/src/module/xep/0167_jingle_rtp/stream.vala | |
parent | 328c3cf37f296f4519829afd03d21f94ea4153e5 (diff) | |
download | dino-3880628de4785db4c0a03a79a0c486507fe9b1a8.tar.gz dino-3880628de4785db4c0a03a79a0c486507fe9b1a8.zip |
Video optimizations
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 adae11f5..65be8a0a 100644 --- a/xmpp-vala/src/module/xep/0167_jingle_rtp/stream.vala +++ b/xmpp-vala/src/module/xep/0167_jingle_rtp/stream.vala @@ -33,6 +33,13 @@ public abstract class Xmpp.Xep.JingleRtp.Stream : Object { } return null; }} + public Gee.List<JingleRtp.HeaderExtension>? header_extensions { get { + var content_params = content.content_params; + if (content_params is Parameters) { + return ((Parameters)content_params).header_extensions; + } + return null; + }} public bool sending { get { return content.session.senders_include_us(content.senders); }} |