Class
PwgRegistry
since: 0.1
Description [src]
final class Pwg.Registry : GObject.Object
{
/* No available fields */
}
PipeWire registry discovery helper.
Registry objects keep a GListModel of copied PwgGlobal
descriptors and emit signals when globals appear or disappear.
Stability: Unstable
Available since: 0.1
Instance methods
pwg_registry_dup_globals_by_interface
Copies a snapshot list of globals with a matching interface type.
since: 0.1
pwg_registry_dup_globals_by_media_class
Copies a snapshot list of globals with a matching media class.
since: 0.1
pwg_registry_dup_globals_by_property
Copies a snapshot list of globals with a matching property.
since: 0.1
pwg_registry_lookup_global_by_object_serial
Looks up the first global with a matching PipeWire object serial.
since: 0.1
pwg_registry_lookup_global_by_property
Looks up the first global with a matching property.
since: 0.1
pwg_registry_start
Starts registry discovery. If the core is not connected, this method connects it first.
since: 0.1
Signals
Pwg.Registry::global-added
Emitted from the object’s construction thread-default main context when a PipeWire global is discovered.
since: 0.1
Pwg.Registry::global-removed
Emitted from the object’s construction thread-default main context when a PipeWire global disappears.
since: 0.1
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.