mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
pulse: find linked endpoints
Set the stream node object-id as the node.id on the endpoint so that the pulse api can find the linked endpoint.
This commit is contained in:
parent
709a52e286
commit
8c43ebaf3e
6 changed files with 35 additions and 40 deletions
|
|
@ -242,6 +242,8 @@ static struct client_endpoint *make_endpoint(struct node *node)
|
|||
pw_properties_set(props, PW_KEY_MEDIA_CLASS, media_class);
|
||||
if ((name = spa_dict_lookup(dict, PW_KEY_MEDIA_NAME)) != NULL)
|
||||
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_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