mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
Fix proxy ids
The proxy/resource ids are generated by the client and so we need to used them as index in the client resource map instead of making our own number. Fix stream disconnect and client-node destroy Fix gstreamer device provider Make all sockets non-blocking to avoid errors with bad clients Advertise the subsystems we monitor and disable the gstreamer monitors. Implement core properties updates Make sure we send REMOVE_ID after we are done with the resource.
This commit is contained in:
parent
e579efea10
commit
4b55d7c4da
18 changed files with 222 additions and 69 deletions
|
|
@ -443,6 +443,7 @@ on_context_data (SpaSource *source,
|
|||
pinos_log_error ("context %p: could not find proxy %u", this, id);
|
||||
continue;
|
||||
}
|
||||
pinos_log_debug ("context %p: object dispatch %u", this, id);
|
||||
|
||||
pinos_proxy_dispatch (proxy, type, p);
|
||||
}
|
||||
|
|
@ -588,7 +589,7 @@ pinos_context_connect (PinosContext *context)
|
|||
if (name == NULL)
|
||||
name = "pinos-0";
|
||||
|
||||
if ((fd = socket (PF_LOCAL, SOCK_STREAM | SOCK_CLOEXEC, 0)) < 0)
|
||||
if ((fd = socket (PF_LOCAL, SOCK_STREAM | SOCK_CLOEXEC | SOCK_NONBLOCK, 0)) < 0)
|
||||
return false;
|
||||
|
||||
memset (&addr, 0, sizeof (addr));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue