client-node: add get_node method

Make a get node method that binds to the server side node of the
client-node immediately. use this in the remote_export and always
return a node proxy.

Use the node proxy to get property updates and signal those in the
stream.
This commit is contained in:
Wim Taymans 2019-03-15 20:29:34 +01:00
parent 33afa18621
commit 9245c81227
9 changed files with 183 additions and 42 deletions

View file

@ -1210,7 +1210,7 @@ static void node_free(void *data)
static void node_initialized(void *data)
{
struct impl *impl = data;
pw_client_node_registered(impl->client_node, impl->this.node->global->id);
pw_client_node_registered(impl->client_node, impl->this.node->global);
}
static const struct pw_node_events node_events = {