Hi everyone!
Another newcomer here with big plans inside GNOME. I’m planning a messaging application with the capability of handling voice calls.
My question is: does GNOME provide a way for accessing the microphone or shall I go to another component of linux (that I probably haven’t heard about yet) that implements this feature?
swilmet
(Sébastien Wilmet)
August 7, 2024, 11:27am
2
I’m not an expert in that area, but I can give a few suggestions.
Vocalis is a sound recorder, so it’s possible to see how it’s implemented.
Otherwise, for everything related to multimedia, there is GStreamer .
mcatanzaro
(Michael Catanzaro)
August 7, 2024, 2:02pm
3
I think you need to use Pipewire.
two
August 8, 2024, 8:43pm
4
here is dino, which supports voice calls in gtk4: it uses gstreamer
pause_count--;
if (pause_count == 0) {
debug("Continue pipe after modifications");
pipe.set_state(Gst.State.PLAYING);
}
if (pause_count < 0) warning("Pause count below zero!");
}
private void init_device_monitor() {
if (device_monitor != null) return;
device_monitor = new Gst.DeviceMonitor();
device_monitor.show_all = true;
device_monitor.get_bus().add_watch(Priority.DEFAULT, on_device_monitor_message);
device_monitor.start();
foreach (Gst.Device device in device_monitor.get_devices()) {
if (device.properties.has_name("pipewire-proplist") && device.has_classes("Audio")) continue;
if (device.properties.get_string("device.class") == "monitor") continue;
if (devices.any_match((it) => it.matches(device))) continue;
devices.add(new Device(this, device));
}
}
system
(system)
Closed
September 7, 2024, 8:43pm
5
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.