kasmtech / workspaces-images

Other
730 stars 241 forks source link

kasmweb/chrome no audio #15

Open dg9999cn opened 2 years ago

dg9999cn commented 2 years ago

I try kasmweb/chrome, but no sound. and I try kasm workplace, use chrome. and there is no sound as well. why? ------------------ Started Audio Out ----------------------------, Kasm Audio Out PID: 23684, VNCSConnST: Sending client stats:, [ 10.0, 10.0, 10.0, 9.6 ], , /dockerstartup/vnc_startup.sh: line 220: kill: (23684) - No such process, Restarting Audio Out Service, Starting audio server, Starting audio service, ,

j-travis commented 2 years ago

Sound is not available if you run the containers outside of Kasm Workspaces.

However it should work when you run within Kasm Workspaces. By default, the admin@kasm.local user has audio enabled but the user@kasm.local does not.

These are Group Settings that can be adjust allow_kasm_audio and kasm_audio_default_on . I . Recommend reviewing the following video that describes how group settings work: https://www.youtube.com/watch?v=teJSUxKEbfE&t=105s

https://kasmweb.com/docs/latest/guide/groups/group_settings.html?highlight=audio

Truth1984 commented 6 months ago

Currently, am running kasmweb/chrome:1.14.0-rolling, which has enabled ffmpeg and pulseaudio. This configuration should not occur by default, but it was initiated by /dockerstartup/jsmpeg/kasm_audio_out-linux kasmaudio 8081 4901 /home/kasm-user/.vnc/self.pem /home/kasm-user/.vnc/self.pem kasm_user:password

Since the standalone version lacks a convenient method for controlling group behaviors, it's pain in the ass to disable it