[pulseaudio-discuss] container support
guest271314 at gmail.com
Sat Dec 12 15:57:47 UTC 2020
> *Moreover it should be possible that different docker containers can
access the microphone and speaker at the same time.*
*> *Any help would be much appreciated.
I have not used pulseaudio server/client functionality. I have used pulse
audio to get system audio and specific application audio output in Firefox
and streamed that data to Chrome and Chromium, which does not support
capturing system audio.
One option would be to serve the audio data using parec or parecord from
> *CentOs 8 on a headless device (intel-nuc)*
> *my docker containers should be able to use pulseaudio client to
communicate with the pulseaudio server*
request and receive PCM or PCM re-encoded to a different codec.
This can be achieved using a server-client template, e.g., fetch('/
http://localhost:1234?device=microphone'), parse the PCM response at the
Other means of achieving the requirement include using WebRTC
PulseAudio has a WebRTC Audio Processing component though I have not tried
that either. See also https://github.com/aiortc/aiortc;
On Sat, Dec 12, 2020 at 7:19 AM Jan Van den Audenaerde <
jan.vandenaudenaerde at gmail.com> wrote:
> I have spend several days without success figuring out how I can use
> pulseaudio in a container setup on an embedded device.
> *I am running CentOs 8 on a headless device (intel-nuc) which is also
> running docker. I would like to run pulseaudio server on the host (CentOs
> 8) and my docker containers should be able to use pulseaudio client to
> communicate with the pulseaudio server via pulseaudio unix socket. Moreover
> it should be possible that different docker containers can access the
> microphone and speaker at the same time.*
> The main problem I am facing I have reported in following forum post:
> - https://forums.centos.org/viewtopic.php?f=54&t=76643
> Any help would be much appreciated.
> I also think that pulseaudio has the good requirements for use in a
> container setup if I only can make it work.
> pulseaudio-discuss mailing list
> pulseaudio-discuss at lists.freedesktop.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the pulseaudio-discuss