ogra1 / zoom-snap

75 stars 13 forks source link

no mic and speaker available in a pure alsa system #15

Open Quarksalber opened 4 years ago

Quarksalber commented 4 years ago

Hi, I'm trying to use the zoom client snap in a opensuse Leap 15.2 with pure alsa, i.e. no pulseaudio installed. Within the zoom-client my mic and speaker are not shown. Only the cam works. Could You make the mic and speaker working via the zoom-client:audio-playback and zoom-client:audio-record plug, respectively in pure alsa mode without the pulseaudio plug? Or is there already a parameter within the zoom-client snap to use the alsa audio system? Thanks.

My snap connections are: Interface Plug Slot Notes audio-playback zoom-client:audio-playback :audio-playback - audio-record zoom-client:audio-record :audio-record - camera zoom-client:camera :camera - desktop zoom-client:desktop :desktop - hardware-observe zoom-client:hardware-observe :hardware-observe - home zoom-client:home :home - network zoom-client:network :network - network-bind zoom-client:network-bind :network-bind - network-manager-observe zoom-client:network-manager-observe :network-manager-observe - opengl zoom-client:opengl :opengl - pulseaudio zoom-client:pulseaudio - - removable-media zoom-client:removable-media - - screen-inhibit-control zoom-client:screen-inhibit-control :screen-inhibit-control - system-observe zoom-client:system-observe :system-observe - unity7 zoom-client:unity7 :unity7 - x11 zoom-client:x11 :x11 -

ogra1 commented 4 years ago

i'll try to research that but i dont think pure alsa and pulseaudio at the same time will be easy to implement ... also ... do you know if zoom installed from their deb package actually supports plain alsa at all (i know it calls a lot pulseaudio specific code during startup (i.e. invoking pactl to get info about the existing sound hardware and the like)

Quarksalber commented 4 years ago

This would be great. Yes, zoom works in my pure alsa environment. I installed the zoom_x86_64.tar.xz Version 3.5.392530.0421 from zoom.us. My speaker is displayed within the audio test of zoom correctly as "HDA Intel PCH ALC3228 ..." and plays the test sound fine. Also the microphone is fine. I have blacklisted pulseaudio in my installer (Yast@opensuse), also the emulator apulse. Currently I'm running the zoom client within a firejail confinement. Of course I'd prefer a snap confinement which is safer. Hopefully You will succeed. I noticed there is an alsa slot within snapcraft. But I don't know if that slot is fully featured and how to prepare the application to obtain a proper plug. I think the selection between alsa and pulse, respectively, could be done by connecting the respective plug within the snap connections. Disconnecting the other should avoid interference between both.