diff options
author | Marvin W <git@larma.de> | 2021-05-01 15:19:05 +0200 |
---|---|---|
committer | Marvin W <git@larma.de> | 2021-05-01 15:48:51 +0200 |
commit | 23ffd37dded3bf872e42d7a00727ab3c4d105a97 (patch) | |
tree | 86278ca49c2eee8c8c091e70d4a5190c21c57aed /plugins/rtp/src/plugin.vala | |
parent | 6b976cdb6604f6f27b72f7397b38d45dd4f916c6 (diff) | |
download | dino-23ffd37dded3bf872e42d7a00727ab3c4d105a97.tar.gz dino-23ffd37dded3bf872e42d7a00727ab3c4d105a97.zip |
Echo Cancellation
Diffstat (limited to 'plugins/rtp/src/plugin.vala')
-rw-r--r-- | plugins/rtp/src/plugin.vala | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/rtp/src/plugin.vala b/plugins/rtp/src/plugin.vala index d43588b4..e3d5ee41 100644 --- a/plugins/rtp/src/plugin.vala +++ b/plugins/rtp/src/plugin.vala @@ -8,7 +8,7 @@ public class Dino.Plugins.Rtp.Plugin : RootInterface, VideoCallPlugin, Object { public Gst.DeviceMonitor device_monitor { get; private set; } public Gst.Pipeline pipe { get; private set; } public Gst.Bin rtpbin { get; private set; } - public Gst.Element echoprobe { get; private set; } + public EchoProbe echoprobe { get; private set; } private Gee.List<Stream> streams = new ArrayList<Stream>(); private Gee.List<Device> devices = new ArrayList<Device>(); @@ -72,7 +72,8 @@ public class Dino.Plugins.Rtp.Plugin : RootInterface, VideoCallPlugin, Object { pipe.add(rtpbin); // Audio echo probe - echoprobe = Gst.ElementFactory.make("webrtcechoprobe", "echo-probe"); +// echoprobe = Gst.ElementFactory.make("webrtcechoprobe", "echo-probe"); + echoprobe = new EchoProbe(); if (echoprobe != null) pipe.add(echoprobe); // Pipeline |