solarkennedy / wine-x11-novnc-docker

Base Docker image to run wine programs in a web browser via noVNC (html5 vnc viewer) + Xvfb + x11vnc
Apache License 2.0
273 stars 103 forks source link

Adding sound output capability #18

Open debMan opened 3 years ago

debMan commented 3 years ago

Thanks for this interesting implementation of wine. I need a multimedia windows application run on Linux. This docker image works well, but can not play sounds. I've checked with HTML and VNC client. None of these can play audio. Can anyone provide a solution?

solarkennedy commented 3 years ago

This would be a hard one :)

Maybe pulseaudio could serve a port and the connecting linux machine could use the docker container's port as a source to the local speaker sink? https://joshdata.wordpress.com/2009/02/11/pulseaudio-sound-forwarding-across-a-network/

solarkennedy commented 3 years ago

Or thinlinc maybe? https://github.com/oposs/tl-docker

MuBai-He commented 1 year ago

These are some materials I found recently. I am not familiar with docker. Thank you for your efforts https://github.com/novnc/noVNC/issues/302 https://github.com/no-body-in-particular/NoVNCAudio https://github.com/ayunami2000/novnc-audio