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:
Wim Taymans 2019-11-15 18:21:04 +01:00
parent 709a52e286
commit 8c43ebaf3e
6 changed files with 35 additions and 40 deletions

View file

@ -1797,7 +1797,7 @@ static void source_output_callback(struct source_output_data *d)
if (name == NULL && info->props) {
if ((name = spa_dict_lookup(info->props, PW_KEY_MEDIA_NAME)) == NULL &&
(name = spa_dict_lookup(info->props, PW_KEY_APP_NAME)) == NULL &&
(name = spa_dict_lookup(info->props, PW_KEY_NODE_NAME)) == NULL)
(name = spa_dict_lookup(info->props, PW_KEY_ENDPOINT_NAME)) == NULL)
name = NULL;
}
if (name == NULL)