diff options
author | Marvin W <git@larma.de> | 2021-11-10 23:11:25 +0100 |
---|---|---|
committer | Marvin W <git@larma.de> | 2021-11-10 23:13:33 +0100 |
commit | cfe43de5d5bcc46691be0d0328fcbcb9f1a2e2af (patch) | |
tree | 8b64b4cb1cb73f69ddbdb70f4da52434ae809d65 /plugins | |
parent | 0fe24c433909840a7d812630639bc13ab24f1bad (diff) | |
download | dino-cfe43de5d5bcc46691be0d0328fcbcb9f1a2e2af.tar.gz dino-cfe43de5d5bcc46691be0d0328fcbcb9f1a2e2af.zip |
Make elements sync to get proper qos data
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/rtp/src/stream.vala | 4 | ||||
-rw-r--r-- | plugins/rtp/src/video_widget.vala | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/rtp/src/stream.vala b/plugins/rtp/src/stream.vala index 86f52ee7..5d1cf6bf 100644 --- a/plugins/rtp/src/stream.vala +++ b/plugins/rtp/src/stream.vala @@ -91,7 +91,7 @@ public class Dino.Plugins.Rtp.Stream : Xmpp.Xep.JingleRtp.Stream { send_rtp.async = false; send_rtp.caps = CodecUtil.get_caps(media, payload_type, false); send_rtp.emit_signals = true; - send_rtp.sync = false; + send_rtp.sync = true; send_rtp.drop = true; send_rtp.wait_on_eos = false; send_rtp.new_sample.connect(on_new_sample); @@ -102,7 +102,7 @@ public class Dino.Plugins.Rtp.Stream : Xmpp.Xep.JingleRtp.Stream { send_rtcp.async = false; send_rtcp.caps = new Gst.Caps.empty_simple("application/x-rtcp"); send_rtcp.emit_signals = true; - send_rtcp.sync = false; + send_rtcp.sync = true; send_rtcp.drop = true; send_rtcp.wait_on_eos = false; send_rtcp.new_sample.connect(on_new_sample); diff --git a/plugins/rtp/src/video_widget.vala b/plugins/rtp/src/video_widget.vala index ccd86bb2..3daf5284 100644 --- a/plugins/rtp/src/video_widget.vala +++ b/plugins/rtp/src/video_widget.vala @@ -25,7 +25,7 @@ public class Dino.Plugins.Rtp.VideoWidget : Gtk.Bin, Dino.Plugins.VideoCallWidge Gtk.Widget widget; element.@get("widget", out widget); element.@set("async", false); - element.@set("sync", false); + element.@set("sync", true); this.widget = widget; add(widget); widget.visible = true; |