Support for audio
I created a separate issue from #20 because this goes a different route than what was initially suggested. There is an issue open in NoVNC for audio support, and multiple people have gotten it to work through their own means.
This project seems to be a simple way to get audio working. I might test the method out in my fork and see if I can get something working.
If the above method doesn't work or there's noticeable lag between the video and audio, I'll some other methods from the NoVNC issue thread.
I added sound support to this project before it was upgraded. You might be able to get something useful from https://github.com/davidnewcomb/docker-tor-browser/tree/vlc
I draw your attention to client.any-tcp.conf, pulse-client.linux-native.conf and pulse-default.pa which are the main configuration files for running sound over native linux pulseaudio or over tcp pulseaudio.
I have upgraded my project inline with this one and added support for sound and VLC: The newer kernel has more support for sound and so it needs slightly less fiddling to get it to work - basically just the pulse audio configuration file.
- cp run/pulse-client.any-tcp.conf run/pulse-client.conf
- Override options in tor.opts.sh
- build
https://github.com/davidnewcomb/docker-tor-browser/blob/vlc2
Nice work @davidnewcomb! Would you mind opening a PR to this repo from your vlc2 branch?
I have upgraded my project inline with this one and added support for sound and VLC: The newer kernel has more support for sound and so it needs slightly less fiddling to get it to work - basically just the pulse audio configuration file.
- cp run/pulse-client.any-tcp.conf run/pulse-client.conf
- Override options in tor.opts.sh
- build
https://github.com/davidnewcomb/docker-tor-browser/blob/vlc2
I've added a PR with @davidnewcomb's changes in his vlc2 branch (#49).
Thanks @michaelmcmillan . The branch in my repo (vlc2) included a few extra features that I was still working on, e.g. xclip was included in my (original) vlc branch but I've not been able to get it to work with the current iteration (vlc2). It wasn't quite ready to add it to this project yet.
I have created a branch in this repo called vlc with a slightly updated README that is now ready for testing. I have stripped out the xclip, vim and python3 stuff as well because they are not needed here to get vlc/audio working.
There are a couple of extra environment variables that need to be set up to make it work and so it has meant that I've had to change the way we launch docker with a shell script. This change will mean the README may have to change a bit more to make it flow better.
Please take a look and see if you can get it up and running.