mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-04-09 08:21:08 -04:00
sendspin: implement receiver zeroconf connect
Let a receiver connect to the zeroconf server. Add option to connect to multiple serves with rules. Fix some leaks. Fixes #5095
This commit is contained in:
parent
d6654e84a7
commit
4a399172b6
2 changed files with 416 additions and 214 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -925,6 +925,8 @@ static void client_free(struct client *c)
|
||||||
{
|
{
|
||||||
struct impl *impl = c->impl;
|
struct impl *impl = c->impl;
|
||||||
|
|
||||||
|
spa_list_remove(&c->link);
|
||||||
|
|
||||||
handle_client_goodbye(c, NULL);
|
handle_client_goodbye(c, NULL);
|
||||||
if (c->conn) {
|
if (c->conn) {
|
||||||
spa_hook_remove(&c->conn_listener);
|
spa_hook_remove(&c->conn_listener);
|
||||||
|
|
@ -933,7 +935,8 @@ static void client_free(struct client *c)
|
||||||
pw_websocket_cancel(impl->websocket, c);
|
pw_websocket_cancel(impl->websocket, c);
|
||||||
}
|
}
|
||||||
pw_timer_queue_cancel(&c->timer);
|
pw_timer_queue_cancel(&c->timer);
|
||||||
spa_list_remove(&c->link);
|
pw_properties_free(c->props);
|
||||||
|
free(c->name);
|
||||||
free(c);
|
free(c);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue