Work on unifying client and server

Remove context and extensions, make client API also use the core.
Make a new pw_remote object that keeps connections with remote
instances.
Remove introspection API, it's just as easy to connect to the registry
and get updates like that.
Expand the protocol a little to make it useful for making listeners
and connections.
Move protocol specific connection to the module. Make some new
convenience methods.
Make a factory to create nodes from spa objects
Add an example of a local pipeline displaying a v4l2 source.
This commit is contained in:
Wim Taymans 2017-07-11 12:24:03 +02:00
parent 2ece95ea48
commit 847cef83b6
65 changed files with 2634 additions and 2713 deletions

View file

@ -34,15 +34,13 @@ extern "C" {
struct pw_client_node {
struct pw_node *node;
struct pw_client *client;
struct pw_resource *resource;
PW_SIGNAL(destroy_signal, (struct pw_listener *listener, struct pw_client_node *node));
};
struct pw_client_node *
pw_client_node_new(struct pw_client *client,
uint32_t id,
pw_client_node_new(struct pw_resource *resource,
const char *name,
struct pw_properties *properties);