How to add microphone access to container for multiple clients?
mremasoudian opened this issue · comments
I’m running into a frustrating problem. I installed an ubuntu version 20.04 and installed Docker on it
I started a container named linuxserver/firefox on Docker.
I tried to set up the microphone for users who use this image, but unfortunately I could not do this.
Is there a way to add microphone access to this image?
thanks a lot
I haven't tried using the microphone, but audio at least works with the PulseAudio option. Have you tried the options listed here?
https://github.com/mviereck/x11docker#sound
https://github.com/mviereck/x11docker#webcam
Thank you for your answer, Yes, I did what you said, but it was not possible to access the microphone.
I was able to share my host’s microphone with container before. And I was able to do this from the link below.
https://comp0016-team-24.github.io/dev/problem-solving/2020/10/30/passing-audio-into-docker.html
But I don’t want this
I want to make the container connect to the user’s driver like kasm workspace.But because using kasm is expensive for me, I don’t want to use it
It should just work with --pulseaudio
.
If not, build an image with pavucontrol
and run pavucontrol
with --pulseaudio
in container to look for the microphone. It should appear there.