WpClient
The WpClient class allows accessing the properties and methods of a PipeWire
client object (struct pw_client
). A WpClient is constructed internally
when a new client connects to PipeWire and it is made available through the
WpObjectManager API.
WpClient
Class structure
Methods
wp_client_update_permissions
wp_client_update_permissions (WpClient * self, guint n_perm, ... ...)
Update client's permissions on a list of objects. An object id of -1
can be used to set the default object permissions for this client
Parameters:
self
–
the client
n_perm
–
the number of permissions specified in the variable arguments
...
–
n_perm pairs of guint32 numbers; the first number is the object id and the second is the permissions that this client should have on this object
wp_client_update_permissions_array
wp_client_update_permissions_array (WpClient * self, guint n_perm, const pw_permission* permissions)
Update client's permissions on a list of objects. An object id of -1
can be used to set the default object permissions for this client
Parameters:
self
–
the client
n_perm
–
the number of permissions specified in the permissions array
permissions
(
[array length=n_perm]
[element-type pw_permission]
)
–
an array of permissions per object id
Constants
The results of the search are