From 77e23c41e1eb884490585afc2ac10eedb6fd501a Mon Sep 17 00:00:00 2001 From: Stanislav Malishevskiy Date: Fri, 12 Apr 2024 16:39:28 +0300 Subject: [PATCH] Fix issue with sound without webrtc library --- plugins/rtp/src/device.vala | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/plugins/rtp/src/device.vala b/plugins/rtp/src/device.vala index 7fee7307..00545ba9 100644 --- a/plugins/rtp/src/device.vala +++ b/plugins/rtp/src/device.vala @@ -55,12 +55,12 @@ public class Dino.Plugins.Rtp.Device : MediaDevice, Object { private string device_name; private string device_display_name; - private Gst.Caps device_caps; - private Gst.Element element; - private Gst.Element tee; - private Gst.Element dsp; - private Gst.Base.Aggregator mixer; - private Gst.Element filter; + private Gst.Caps device_caps = null; + private Gst.Element element = null; + private Gst.Element tee = null; + private Gst.Element dsp = null; + private Gst.Base.Aggregator mixer = null; + private Gst.Element filter = null; private int links; // Codecs