Make elements sync to get proper qos data

This commit is contained in:
Marvin W 2021-11-10 23:11:25 +01:00
parent 0fe24c4339
commit cfe43de5d5
No known key found for this signature in database
GPG key ID: 072E9235DB996F2A
2 changed files with 3 additions and 3 deletions

View file

@ -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);

View file

@ -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;