mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
media-session: pass the client.id in the endpoint
Pass the client.id that we made this endpoint for in the endpoint properties. This makes it possible to let pulse find the client that belongs to the endpiont. The client.id is used to find the client that actually made the object (the session manager)
This commit is contained in:
parent
b518496136
commit
f2ce69c4bd
4 changed files with 7 additions and 1 deletions
|
|
@ -244,6 +244,8 @@ static struct client_endpoint *make_endpoint(struct node *node)
|
|||
pw_properties_set(props, PW_KEY_ENDPOINT_NAME, name);
|
||||
if ((str = spa_dict_lookup(dict, PW_KEY_OBJECT_ID)) != NULL)
|
||||
pw_properties_set(props, PW_KEY_NODE_ID, str);
|
||||
if ((str = spa_dict_lookup(dict, PW_KEY_CLIENT_ID)) != NULL)
|
||||
pw_properties_set(props, PW_KEY_ENDPOINT_CLIENT_ID, str);
|
||||
if ((str = spa_dict_lookup(dict, PW_KEY_NODE_AUTOCONNECT)) != NULL)
|
||||
pw_properties_set(props, PW_KEY_ENDPOINT_AUTOCONNECT, str);
|
||||
if ((str = spa_dict_lookup(dict, PW_KEY_NODE_TARGET)) != NULL)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue