Sound not captured from Linux

Description

I’ve setup virtual pulse audio device on Linux as per:

And followed instructions from:

But it’s not working. Checked pavucontrol too, AudioRelay-Speakers is default device.

Devices

Phone is moto g200, Android 11. App is version 0.26.1.
PC is Ubuntu Linux 20.04 LTS, 64 bits. Motherboard Asus H110M-R. App is version 0.26.3.

Also tried running /opt/audiorelay/bin/AudioRelay to get more info:

2023-01-30 19:01:52:335 [INFO] Version: 0.26.3, os: Linux, osVersion: 5.4.0-137-generic
2023-01-30 19:01:52:658 [INFO] Initializing locale to es
2023-01-30 19:01:52:704 [INFO] Network addresses: NetworkInfo(broadcastAddresses=[172.31.253.255, 172.31.254.255, 192.168.0.255], localAddresses=[172.31.253.53, 172.31.254.53, 192.168.0.196, 192.168.0.99])
2023-01-30 19:01:52:708 [INFO] Starting the server...
2023-01-30 19:01:52:714 [INFO] Waiting for devices from PortAudio...
2023-01-30 19:01:52:718 [INFO] Status initializing
2023-01-30 19:01:52:720 [INFO] Portaudio version: PortAudio V19.7.0-devel, revision unknown
2023-01-30 19:01:52:731 [INFO] Checking for update...
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_route.c:869:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:869:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:869:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:869:(find_matching_chmap) Found no matching channel map
Cannot connect to server socket err = No existe el archivo o el directorio
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Cannot connect to server socket err = No existe el archivo o el directorio
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port
ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port
ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card
ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card
2023-01-30 19:01:53:272 [INFO] Showing main window...
2023-01-30 19:01:53:313 [INFO] Rendering api: OPENGL
2023-01-30 19:01:53:553 [INFO] Found no update
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1746
Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1778
2023-01-30 19:01:55:269 [INFO] Remote device connected: 192.168.0.127
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1746
Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1778
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
2023-01-30 19:01:55:285 [INFO] Received client config, clientVersion: 0.26.1, os: ANDROID, osVersion: Android API 30
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
(previous line repeated a lot)
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
2023-01-30 19:01:55:809 [INFO] No data emitted by pipeline, sending empty values...
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
(again, repeated a lot)
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1746
Expression 'AlsaOpen( hostApi, parameters, streamDir, &pcm )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1778
2023-01-30 19:01:56:434 [INFO] Status initialized
2023-01-30 19:01:56:444 [INFO] Starting capture on Monitor of AudioRelay-Speakers...
2023-01-30 19:01:56:447 [INFO] Stream opened, latency: 0.0
2023-01-30 19:01:56:810 [INFO] Audio pipeline is emitting values

2023-01-30 19:02:13:172 [INFO] Remote device disconnected: 192.168.0.127...

2023-01-30 19:02:19:422 [INFO] Remote device connected: 192.168.0.127
2023-01-30 19:02:19:427 [INFO] Received client config, clientVersion: 0.26.1, os: ANDROID, osVersion: Android API 30
2023-01-30 19:02:19:429 [INFO] Starting capture on Monitor of AudioRelay-Speakers...
2023-01-30 19:02:19:429 [INFO] Stream opened, latency: 0.0
2023-01-30 19:02:19:930 [INFO] Audio pipeline is emitting values
2023-01-30 19:02:49:231 [INFO] Starting capture on Default...
2023-01-30 19:02:49:231 [INFO] Stream opened, latency: 0.0
2023-01-30 19:02:59:363 [INFO] Starting capture on Monitor of AudioRelay-Speakers...
2023-01-30 19:02:59:363 [INFO] Stream opened, latency: 0.0

2023-01-30 19:10:23:212 [INFO] Remote device disconnected: 192.168.0.127...
2023-01-30 19:10:32:514 [INFO] Remote device connected: 192.168.0.127
2023-01-30 19:10:32:520 [INFO] Received client config, clientVersion: 0.26.1, os: ANDROID, osVersion: Android API 30
2023-01-30 19:10:32:522 [INFO] Starting capture on Monitor of AudioRelay-Speakers...
2023-01-30 19:10:32:523 [INFO] Stream opened, latency: 0.0
2023-01-30 19:10:33:031 [INFO] Audio pipeline is emitting values
2023-01-30 19:10:45:760 [ERROR] Stopping the session due to an error: L60
	at K60.a(SourceFile:2)
	at MH0.a(SourceFile:46)
	at lc0.b(SourceFile:5)
	at Ub0.a(SourceFile:134)
	at Zd0.run(SourceFile:1)
	at jw.run(SourceFile:5)
	at a00.run(SourceFile:4)
	at tY0.run(SourceFile:1)
	at nh.run(SourceFile:19)
2023-01-30 19:10:45:761 [INFO] Remote device disconnected: 192.168.0.127...

Disconnections shown from 192.168.0.127 is my phone’s IP address, connecting to PC via WiFi. Disconnections are on purpose from android app, as I attempted to get it working.

Hello @matonga,

This was hopefully due to a bug fixed in the update.
You could try again with the latest version.