by eperot · 5mo ago · 0 comments
I just tried:
bwrap ... --ro-bind /run/user/1000/pipewire-0 /run/user/1000/pipewire-0 ... -- runsc ... do ... -- mpv podcast.mp3
Flawless playback. I think it's a default pipewire configuration.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.
libpipewire-module-pipe-tunnel
also: <https://gitlab.freedesktop.org/pipewire/pipewire/-/merge_req...>