jlesage / docker-firefox

Docker container for Firefox
MIT License
1.61k stars 288 forks source link

Sound on macos is not working #72

Open chaitanya9186 opened 3 years ago

chaitanya9186 commented 3 years ago

I have tried with --device /dev/snd option. I don't think MacOS has that device. Could someone help me.

I have found some workarounds, but not sure how to use them: https://stackoverflow.com/questions/40136606/how-to-expose-audio-from-docker-container-to-a-mac

https://stackoverflow.com/questions/14867033/which-dev-devices-are-the-microphone-and-speaker-in-mac-os-x

chaitanya9186 commented 3 years ago

Probably, the PR https://github.com/jlesage/docker-firefox/pull/60 might be fixing the audio issue

jlesage commented 3 years ago

Docker on MacOS is implemented using a virtual machine. Is there any option to add a sound card to this VM ?

jlesage commented 3 years ago

Probably, the PR #60 might be fixing the audio issue

A Pulse server is still needed, which I think is not available on MacOS?

chaitanya9186 commented 3 years ago

Probably, the PR #60 might be fixing the audio issue

A Pulse server is still needed, which I think is not available on MacOS?

A quick google search, I found https://medium.com/@cristianduguet/play-remote-audio-over-an-ssh-connection-with-a-mac-client-9b7135dfe129

chaitanya9186 commented 3 years ago

Another forum: https://forums.docker.com/t/docker-for-mac-audio-support/16098/7

davr59 commented 1 year ago

Hello @chaitanya9186, did you find a solution for this?