accetto / ubuntu-vnc-xfce-g3

Headless Ubuntu/Xfce containers with VNC/noVNC (G3v5).
MIT License
211 stars 60 forks source link

PulseAudio and noVNC #33

Open markNZed opened 1 year ago

markNZed commented 1 year ago

I see there has been some work to get audio working with noVNC at https://github.com/novnc/noVNC/pull/1525 and this got me interested in PulseAudio. I though I would ask about this as it would be ideal to have sound with the browser.

accetto commented 1 year ago

Thanks for the hint, I'll definitely check it out. It would be nice to have it working.

markNZed commented 1 year ago

Maybe https://github.com/jitsi/jitsi-meet could be used. An advantage of this would be that it does not require noVNC you could have any VNC client and use any web browser on the client for audio (requires a dedicated audio tab). They seem to support audio only https://jitsi.org/blog/audio-only-mode-in-jitsi-meet/

accetto commented 1 year ago

Thanks also for this one. However, it'll take some time to check it all out and to test it.

markNZed commented 1 year ago

There is a docker version with instructions at https://jitsi.github.io/handbook/docs/devops-guide/devops-guide-docker/ It was fairly easy to get working locally. I needed to add this to the .env (not having IPV6 on the host, and PUBLIC_URL needing to be specified for it to work on a local network)

ENABLE_IPV6=0 PUBLIC_URL=xxx:8443

It does look like a complex beast but I guess having that docker could be a very powerful starting point. I was surprised by how little lag there is in the audio.