5 ms·
Ah, I see the distinction. In my case, I was using the PulseAudio client+server with a network sink running in-sandbox, producing a set of audio samples that ar
by eperot 3mo ago
Ah, I see the distinction. In my case, I was using the PulseAudio client+server with a network sink running in-sandbox, producing a set of audio samples that are then replayed by a PulseAudio client in the out-of-sandbox Rust application receiving these samples. Exposing the socket directly to the sandbox is dangerous, e.g. it would let the sandbox record the host's microphone directly.
My goal was for the sandbox to only have access to a single dumb playback sink and no other access by default, and to gate any further access (e.g. microphone access) in something the out-of-sandbox software can catch and ask the user about before it is granted to the sandbox.
- coppsilgold 3mo ago> Exposing the socket directly to the sandbox is dangerous, e.g. it would let the sandbox record the host's microphone directly. libpipewire-module-pipe-tunnel also: <https://gitlab.freedesktop.org/pipewire/pipewire/-/merge_requests/2874 https://gitlab.freedesktop.org/pipewire/pipewire/-/merge_req...>