PipeWire Client

WpClient

GObject
    ╰──WpObject
        ╰──WpProxy
            ╰──WpGlobalProxy
                ╰──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.


Class structure

WpClientClass

Fields
parent_class (WpGlobalProxyClass) –
No description available

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 ( [arraylength=n_perm][element-typepw_permission])

an array of permissions per object id


Constants

WP_TYPE_CLIENT

#define WP_TYPE_CLIENT (wp_client_get_type ())

The WpClient GType


The results of the search are