As the Cosmic changes seem to be working, I’ve started working on backporting the changes to older Ubuntu releases.
- Xenial: https://code.launchpad.net/~ubuntu-audio-dev/pulseaudio/+git/pulseaudio/+merge/353966
- Bionic: https://code.launchpad.net/~ubuntu-audio-dev/pulseaudio/+git/pulseaudio/+merge/353962
With some builds of both branches in this PPA:
My testing of the Xenial package shows it refusing to allow recording to all snaps. This seems to be due to Xenial’s old version of snapd-glib requiring an explicit snapd_client_connect_{,a}sync()
call. I considered adding this, but I think we really do want the auto-connect behaviour of recent snapd-glib so the module functions correctly over snapd restarts.
So if we proceed with the Xenial backport, it probably needs to be accompanied by a snapd-glib SRU.