pipewire/src
Barnabás Pőcze 2ba9881b4d pulse-server: pending-sample: handle client disconnection correctly
Previously, a client disconnecting while a sample was playing could
lead to issues. For example, if a client disconnected before the
"ready" signal of the sample-play arrives, `operation_new_cb()`
would be called and that would try to use the client's pw_manager,
however, that has previously been destroyed in `client_disconnect()`.

If the client disconnected after the "ready" signal but before the reply
has been sent, then `sample_play_ready_reply()` would never be called
since operations are completed via the client's pw_manager which
would already be destroyed at that point.

Fix this by installing a listener on the client, and properly
cancelling the operation and making sure that the pending_sample
is correctly destroyed.
2023-05-10 18:57:20 +00:00
..
daemon aes67: adapt aes67 default config file to use the rtp-sap module 2023-05-10 17:40:30 +00:00
examples core: add bound_props event 2023-03-21 17:22:27 +01:00
gst gst/pipewiresrc: Let GstBaseSrc handle pseudo-live calculations 2023-04-19 19:22:24 +00:00
modules pulse-server: pending-sample: handle client disconnection correctly 2023-05-10 18:57:20 +00:00
pipewire impl-node: optimize peer activation 2023-05-10 16:56:38 +02:00
tests core: add bound_props event 2023-03-21 17:22:27 +01:00
tools profiler: improve profiler stats 2023-05-06 10:54:57 +02:00
meson.build treewide: meson.build: use feature.allowed() 2022-02-04 00:15:59 +01:00