diff options
author | fiaxh <git@lightrise.org> | 2021-11-11 21:54:55 +0100 |
---|---|---|
committer | fiaxh <git@lightrise.org> | 2021-11-11 21:54:55 +0100 |
commit | e205743f0cb71e32eecf183d067a4f34a7a89d48 (patch) | |
tree | 516e6cd86ad0a628e66d0af8796d02e0f03badba /xmpp-vala/src/module/xep | |
parent | 1b157a20ab728a010eb85292177bcb62cef6a839 (diff) | |
download | dino-e205743f0cb71e32eecf183d067a4f34a7a89d48.tar.gz dino-e205743f0cb71e32eecf183d067a4f34a7a89d48.zip |
Display target bitrates in connection details UI
Diffstat (limited to 'xmpp-vala/src/module/xep')
-rw-r--r-- | xmpp-vala/src/module/xep/0167_jingle_rtp/stream.vala | 8 |
1 files changed, 7 insertions, 1 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 65be8a0a..031f0ad0 100644 --- a/xmpp-vala/src/module/xep/0167_jingle_rtp/stream.vala +++ b/xmpp-vala/src/module/xep/0167_jingle_rtp/stream.vala @@ -1,5 +1,4 @@ public abstract class Xmpp.Xep.JingleRtp.Stream : Object { - public Jingle.Content content { get; protected set; } public string name { get { @@ -54,6 +53,13 @@ public abstract class Xmpp.Xep.JingleRtp.Stream : Object { return false; }} + // Receiver Estimated Maximum Bitrate + public bool remb_enabled { get { + return payload_type != null ? payload_type.rtcp_fbs.any_match((it) => it.type_ == "goog-remb") : false; + }} + public uint target_receive_bitrate { get; set; default=256; } + public uint target_send_bitrate { get; set; default=256; } + protected Stream(Jingle.Content content) { this.content = content; } |