Ignore wasapi devices as they do not work well yet
This commit is contained in:
parent
11828cc2cf
commit
d10badd690
|
@ -50,6 +50,7 @@ public class Dino.Plugins.Rtp.Plugin : RootInterface, VideoCallPlugin, Object {
|
||||||
device_monitor.start();
|
device_monitor.start();
|
||||||
foreach (Gst.Device device in device_monitor.get_devices()) {
|
foreach (Gst.Device device in device_monitor.get_devices()) {
|
||||||
if (device.properties == null) continue;
|
if (device.properties == null) continue;
|
||||||
|
if (device.properties.get_string("device.api") == "wasapi") continue;
|
||||||
if (device.properties.has_name("pipewire-proplist") && device.has_classes("Audio")) continue;
|
if (device.properties.has_name("pipewire-proplist") && device.has_classes("Audio")) continue;
|
||||||
if (device.properties.get_string("device.class") == "monitor") continue;
|
if (device.properties.get_string("device.class") == "monitor") continue;
|
||||||
if (devices.any_match((it) => it.matches(device))) continue;
|
if (devices.any_match((it) => it.matches(device))) continue;
|
||||||
|
|
Loading…
Reference in a new issue