In bug #745216 media-sound/pulseaudio was added to enable audio calling in signal-desktop-bin. With bug #747775 media-sound/apulse was added as an alternative to pulseaudio.
As I don't want pulseaudio on my system I tried to get it work wit apulse. However never got audio calling to work.
The call is established, video from the other side is working. Can not test own video as there is no camera. However there is no sound on either side. Looking at the device settings neither microphone nor speaker is detected.
For completeness camera and microphone access is granted.
Would be great if someone has a solution to this problem!
Do you have any logs from Signal or apulse?
Does audio work with any other applications using apulse?
Created attachment 674998 [details]
signal desktop call log
Don't know if there are any logs from apulse but I can give you the log from signal-desktop.
At 2020-11-25T17:26:41.022Z I start an audio call.
At 2020-11-25T17:27:16.282Z I am receiving an audio call
The only errors from the log are what I already reported. No audio devices are detected:
ERROR 2020-11-25T17:26:41.045Z src/webrtc/peer_connection_factory.rs:438 getAudioRecordingDevices() returned -1
ERROR 2020-11-25T17:26:41.046Z src/webrtc/peer_connection_factory.rs:336 getAudioPlayoutDevices() returned -1
Also would be great for any hints on how to try apulse with other applications. There is only a handful around. Also how do I verify that I am actually using apulse?
I run firefox wit "apulse /usr/bin/firefox" and was able to listen to audio.
Don't have a lot of experience her as I always tried to avoid pulseaudio and apulse.
Created attachment 675001 [details]
signal desktop call log
Oh I was stupid!
I forgot to add apulse to my starter as I do not start signal-desktop from the start menu.
Now the devices are detected but it still does not work!
If I get called and I answer signal freezes and I have to kill it. If I call somebody and he answers the call it continues ringing on my side even if the other side discontinues the call and I also have to kill it.
However there are no errors any more in the log!
Outgoing call 2020-11-25T18:34:01.267Z
Incoming call 2020-11-25T18:35:05.105Z
(In reply to Daniel Pielmeier from comment #2)
> I run firefox wit "apulse /usr/bin/firefox" and was able to listen to audio.
Have you tried whether recording audio works? You could check https://www.onlinemictest.com with Firefox.
I think I found the issue.
I use two sound cards:
card 0: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
card 1: PCH [HDA Intel PCH], device 0: ALC892 Analog [ALC892 Analog]
In my .asoundrc I use the dmix plugin to enable output on more than one application and the multi plugin to enable the output on both devices PCH and HDMI at once.
While dmixing was okay, as soon as I enabled the multi plugin it fails. Furthermore it even fails when setting HDMI as default device (without multi plugin). So it seems signal-desktop has problems with HDMI devices.
If I set the PCH device as default, audio calling works fine.