Feedback two serious bugs

I am a Chinese, my English is very bad, so I used Google Translate, I hope you can understand.

①. Unable to resolve domain name when used in WAN.(Top-level Domain: ink)

②. When used in the WAN, it always reconnects automatically without sound.

  1. Can the device ping the domain? If not, it won’t work in AudioRelay.
    (via https://play.google.com/store/apps/details?id=com.termux for example)

  2. Right now, you’ll need to manually add port forwarding to your router.
    The audio packets sent from the server are not reaching the client.
    Please forward UDP 59100 to your local address.

Logs (click to expand)
2022-01-26 22:56:59,260 INFO [AR] Starting IpcCoordinatorService ...
2022-01-26 22:56:59,294 INFO [PortAudioDeviceBackend] Waiting for devices from PortAudio...
2022-01-26 22:56:59,295 INFO [AR] Waiting for devices from windows' backend...
2022-01-26 22:56:59,301 INFO [AR] Checking for update...
2022-01-26 22:56:59,305 INFO [server_manager] Starting the server...
2022-01-26 22:56:59,320 INFO [AR] Got open ports at 59300 and 59350
2022-01-26 22:56:59,332 INFO [IpcAudio] Audio socket waiting on a connection...
2022-01-26 22:56:59,332 INFO [IpcMessages] Messages socket waiting on a connection...
2022-01-26 22:56:59,336 INFO [AR] Starting backend...
2022-01-26 22:56:59,403 INFO [AR] Loading portaudio_x64.dll...
2022-01-26 22:56:59,413 INFO [AR] Loading native-portaudio.dll...
2022-01-26 22:56:59,423 INFO [PortAudioDeviceBackend] Status initializing
2022-01-26 22:56:59,446 INFO [IpcBackendStatusProbe] Wait for backend backend...
2022-01-26 22:56:59,708 INFO [PortAudioDeviceBackend] Status initialized
2022-01-26 22:56:59,760 INFO [PortAudioDeviceBackend] Supported: PortAudioDevice(index=0, name=Microsoft Sound Mapper - Input, type=Capture, isDefault=false, defaultSampleRate=44100.0, channels=2, hostApiIndex=0, hostApiType=MME, hostApiName=MME, defaultLowLatency=0.18, defaultHighLatency=0.0)
2022-01-26 22:56:59,765 INFO [PortAudioDeviceBackend] Unsupported: PortAudioDevice(index=0, name=Microsoft Sound Mapper - Input, type=Render, isDefault=false, defaultSampleRate=44100.0, channels=0, hostApiIndex=0, hostApiType=MME, hostApiName=MME, defaultLowLatency=0.09, defaultHighLatency=0.18), error: -9998, Invalid number of channels
2022-01-26 22:56:59,766 INFO [PortAudioDeviceBackend] Supported: PortAudioDevice(index=1, name=VoiceMeeter VAIO3 Output (VB-Au, type=Capture, isDefault=true, defaultSampleRate=44100.0, channels=8, hostApiIndex=0, hostApiType=MME, hostApiName=MME, defaultLowLatency=0.18, defaultHighLatency=0.0)
2022-01-26 22:56:59,766 INFO [PortAudioDeviceBackend] Unsupported: PortAudioDevice(index=1, name=VoiceMeeter VAIO3 Output (VB-Au, type=Render, isDefault=false, defaultSampleRate=44100.0, channels=0, hostApiIndex=0, hostApiType=MME, hostApiName=MME, defaultLowLatency=0.09, defaultHighLatency=0.18), error: -9998, Invalid number of channels
2022-01-26 22:56:59,766 INFO [PortAudioDeviceBackend] Supported: PortAudioDevice(index=2, name=VoiceMeeter Output (VB-Audio Vo, type=Capture, isDefault=false, defaultSampleRate=44100.0, channels=8, hostApiIndex=0, hostApiType=MME, hostApiName=MME, defaultLowLatency=0.18, defaultHighLatency=0.0)
2022-01-26 22:56:59,766 INFO [PortAudioDeviceBackend] Unsupported: PortAudioDevice(index=2, name=VoiceMeeter Output (VB-Audio Vo, type=Render, isDefault=false, defaultSampleRate=44100.0, channels=0, hostApiIndex=0, hostApiType=MME, hostApiName=MME, defaultLowLatency=0.09, defaultHighLatency=0.18), error: -9998, Invalid number of channels
2022-01-26 22:56:59,767 INFO [PortAudioDeviceBackend] Supported: PortAudioDevice(index=3, name=VoiceMeeter Aux Output (VB-Audi, type=Capture, isDefault=false, defaultSampleRate=44100.0, channels=8, hostApiIndex=0, hostApiType=MME, hostApiName=MME, defaultLowLatency=0.18, defaultHighLatency=0.0)
2022-01-26 22:56:59,767 INFO [PortAudioDeviceBackend] Unsupported: PortAudioDevice(index=3, name=VoiceMeeter Aux Output (VB-Audi, type=Render, isDefault=false, defaultSampleRate=44100.0, channels=0, hostApiIndex=0, hostApiType=MME, hostApiName=MME, defaultLowLatency=0.09, defaultHighLatency=0.18), error: -9998, Invalid number of channels
2022-01-26 22:56:59,767 INFO [PortAudioDeviceBackend] Supported: PortAudioDevice(index=4, name=线路 (AudioBox USB iOne), type=Capture, isDefault=false, defaultSampleRate=44100.0, channels=2, hostApiIndex=0, hostApiType=MME, hostApiName=MME, defaultLowLatency=0.18, defaultHighLatency=0.0)
2022-01-26 22:56:59,767 INFO [PortAudioDeviceBackend] Unsupported: PortAudioDevice(index=4, name=线路 (AudioBox USB iOne), type=Render, isDefault=false, defaultSampleRate=44100.0, channels=0, hostApiIndex=0, hostApiType=MME, hostApiName=MME, defaultLowLatency=0.09, defaultHighLatency=0.18), error: -9998, Invalid number of channels
2022-01-26 22:56:59,767 INFO [PortAudioDeviceBackend] Unsupported: PortAudioDevice(index=5, name=Microsoft Sound Mapper - Output, type=Capture, isDefault=false, defaultSampleRate=44100.0, channels=0, hostApiIndex=0, hostApiType=MME, hostApiName=MME, defaultLowLatency=0.18, defaultHighLatency=0.0), error: -9998, Invalid number of channels
2022-01-26 22:56:59,781 INFO [PortAudioDeviceBackend] Supported: PortAudioDevice(index=5, name=Microsoft Sound Mapper - Output, type=Render, isDefault=false, defaultSampleRate=44100.0, channels=2, hostApiIndex=0, hostApiType=MME, hostApiName=MME, defaultLowLatency=0.09, defaultHighLatency=0.18)
2022-01-26 22:56:59,782 INFO [PortAudioDeviceBackend] Unsupported: PortAudioDevice(index=6, name=VoiceMeeter VAIO3 Input (VB-Aud, type=Capture, isDefault=false, defaultSampleRate=44100.0, channels=0, hostApiIndex=0, hostApiType=MME, hostApiName=MME, defaultLowLatency=0.18, defaultHighLatency=0.0), error: -9998, Invalid number of channels
2022-01-26 22:56:59,782 INFO [PortAudioDeviceBackend] Supported: PortAudioDevice(index=6, name=VoiceMeeter VAIO3 Input (VB-Aud, type=Render, isDefault=true, defaultSampleRate=44100.0, channels=8, hostApiIndex=0, hostApiType=MME, hostApiName=MME, defaultLowLatency=0.09, defaultHighLatency=0.18)
2022-01-26 22:56:59,782 INFO [PortAudioDeviceBackend] Unsupported: PortAudioDevice(index=7, name=VoiceMeeter Input (VB-Audio Voi, type=Capture, isDefault=false, defaultSampleRate=44100.0, channels=0, hostApiIndex=0, hostApiType=MME, hostApiName=MME, defaultLowLatency=0.18, defaultHighLatency=0.0), error: -9998, Invalid number of channels
2022-01-26 22:56:59,782 INFO [PortAudioDeviceBackend] Supported: PortAudioDevice(index=7, name=VoiceMeeter Input (VB-Audio Voi, type=Render, isDefault=false, defaultSampleRate=44100.0, channels=8, hostApiIndex=0, hostApiType=MME, hostApiName=MME, defaultLowLatency=0.09, defaultHighLatency=0.18)
2022-01-26 22:56:59,782 INFO [PortAudioDeviceBackend] Unsupported: PortAudioDevice(index=8, name=VoiceMeeter Aux Input (VB-Audio, type=Capture, isDefault=false, defaultSampleRate=44100.0, channels=0, hostApiIndex=0, hostApiType=MME, hostApiName=MME, defaultLowLatency=0.18, defaultHighLatency=0.0), error: -9998, Invalid number of channels
2022-01-26 22:56:59,783 INFO [PortAudioDeviceBackend] Supported: PortAudioDevice(index=8, name=VoiceMeeter Aux Input (VB-Audio, type=Render, isDefault=false, defaultSampleRate=44100.0, channels=8, hostApiIndex=0, hostApiType=MME, hostApiName=MME, defaultLowLatency=0.09, defaultHighLatency=0.18)
2022-01-26 22:56:59,783 INFO [PortAudioDeviceBackend] Unsupported: PortAudioDevice(index=9, name=Realtek Digital Output (Realtek, type=Capture, isDefault=false, defaultSampleRate=44100.0, channels=0, hostApiIndex=0, hostApiType=MME, hostApiName=MME, defaultLowLatency=0.18, defaultHighLatency=0.0), error: -9998, Invalid number of channels
2022-01-26 22:56:59,783 INFO [PortAudioDeviceBackend] Supported: PortAudioDevice(index=9, name=Realtek Digital Output (Realtek, type=Render, isDefault=false, defaultSampleRate=44100.0, channels=2, hostApiIndex=0, hostApiType=MME, hostApiName=MME, defaultLowLatency=0.09, defaultHighLatency=0.18)
2022-01-26 22:56:59,783 INFO [PortAudioDeviceBackend] Unsupported: PortAudioDevice(index=10, name=扬声器 (AudioBox USB iOne), type=Capture, isDefault=false, defaultSampleRate=44100.0, channels=0, hostApiIndex=0, hostApiType=MME, hostApiName=MME, defaultLowLatency=0.18, defaultHighLatency=0.0), error: -9998, Invalid number of channels
2022-01-26 22:56:59,784 INFO [PortAudioDeviceBackend] Supported: PortAudioDevice(index=10, name=扬声器 (AudioBox USB iOne), type=Render, isDefault=false, defaultSampleRate=44100.0, channels=2, hostApiIndex=0, hostApiType=MME, hostApiName=MME, defaultLowLatency=0.09, defaultHighLatency=0.18)
2022-01-26 22:56:59,784 INFO [PortAudioDeviceBackend] Unsupported: PortAudioDevice(index=11, name=VoiceMeeter Input (VB-Audio VoiceMeeter VAIO), type=Capture, isDefault=false, defaultSampleRate=44100.0, channels=0, hostApiIndex=1, hostApiType=WASAPI, hostApiName=Windows WASAPI, defaultLowLatency=0.0, defaultHighLatency=0.0), error: -9998, Invalid number of channels
2022-01-26 22:56:59,786 INFO [PortAudioDeviceBackend] Supported: PortAudioDevice(index=11, name=VoiceMeeter Input (VB-Audio VoiceMeeter VAIO), type=Render, isDefault=false, defaultSampleRate=44100.0, channels=2, hostApiIndex=1, hostApiType=WASAPI, hostApiName=Windows WASAPI, defaultLowLatency=0.003, defaultHighLatency=0.01)
2022-01-26 22:56:59,786 INFO [PortAudioDeviceBackend] Unsupported: PortAudioDevice(index=12, name=VoiceMeeter Aux Input (VB-Audio VoiceMeeter AUX VAIO), type=Capture, isDefault=false, defaultSampleRate=44100.0, channels=0, hostApiIndex=1, hostApiType=WASAPI, hostApiName=Windows WASAPI, defaultLowLatency=0.0, defaultHighLatency=0.0), error: -9998, Invalid number of channels
2022-01-26 22:56:59,787 INFO [PortAudioDeviceBackend] Supported: PortAudioDevice(index=12, name=VoiceMeeter Aux Input (VB-Audio VoiceMeeter AUX VAIO), type=Render, isDefault=false, defaultSampleRate=44100.0, channels=2, hostApiIndex=1, hostApiType=WASAPI, hostApiName=Windows WASAPI, defaultLowLatency=0.003, defaultHighLatency=0.01)
2022-01-26 22:56:59,787 INFO [PortAudioDeviceBackend] Unsupported: PortAudioDevice(index=13, name=VoiceMeeter VAIO3 Input (VB-Audio VoiceMeeter VAIO3), type=Capture, isDefault=false, defaultSampleRate=44100.0, channels=0, hostApiIndex=1, hostApiType=WASAPI, hostApiName=Windows WASAPI, defaultLowLatency=0.0, defaultHighLatency=0.0), error: -9998, Invalid number of channels
2022-01-26 22:56:59,788 INFO [PortAudioDeviceBackend] Supported: PortAudioDevice(index=13, name=VoiceMeeter VAIO3 Input (VB-Audio VoiceMeeter VAIO3), type=Render, isDefault=false, defaultSampleRate=44100.0, channels=2, hostApiIndex=1, hostApiType=WASAPI, hostApiName=Windows WASAPI, defaultLowLatency=0.003, defaultHighLatency=0.01)
2022-01-26 22:56:59,788 INFO [PortAudioDeviceBackend] Unsupported: PortAudioDevice(index=14, name=Realtek Digital Output (Realtek High Definition Audio), type=Capture, isDefault=false, defaultSampleRate=48000.0, channels=0, hostApiIndex=1, hostApiType=WASAPI, hostApiName=Windows WASAPI, defaultLowLatency=0.0, defaultHighLatency=0.0), error: -9998, Invalid number of channels
2022-01-26 22:56:59,788 INFO [PortAudioDeviceBackend] Supported: PortAudioDevice(index=14, name=Realtek Digital Output (Realtek High Definition Audio), type=Render, isDefault=false, defaultSampleRate=48000.0, channels=2, hostApiIndex=1, hostApiType=WASAPI, hostApiName=Windows WASAPI, defaultLowLatency=0.003, defaultHighLatency=0.01)
2022-01-26 22:56:59,791 INFO [PortAudioDeviceBackend] Unsupported: PortAudioDevice(index=15, name=扬声器 (AudioBox USB iOne), type=Capture, isDefault=false, defaultSampleRate=44100.0, channels=0, hostApiIndex=1, hostApiType=WASAPI, hostApiName=Windows WASAPI, defaultLowLatency=0.0, defaultHighLatency=0.0), error: -9998, Invalid number of channels
2022-01-26 22:56:59,792 INFO [PortAudioDeviceBackend] Supported: PortAudioDevice(index=15, name=扬声器 (AudioBox USB iOne), type=Render, isDefault=false, defaultSampleRate=44100.0, channels=2, hostApiIndex=1, hostApiType=WASAPI, hostApiName=Windows WASAPI, defaultLowLatency=0.003, defaultHighLatency=0.01)
2022-01-26 22:56:59,794 INFO [PortAudioDeviceBackend] Supported: PortAudioDevice(index=16, name=VoiceMeeter Output (VB-Audio VoiceMeeter VAIO), type=Capture, isDefault=false, defaultSampleRate=44100.0, channels=2, hostApiIndex=1, hostApiType=WASAPI, hostApiName=Windows WASAPI, defaultLowLatency=0.01, defaultHighLatency=0.0)
2022-01-26 22:56:59,794 INFO [PortAudioDeviceBackend] Unsupported: PortAudioDevice(index=16, name=VoiceMeeter Output (VB-Audio VoiceMeeter VAIO), type=Render, isDefault=false, defaultSampleRate=44100.0, channels=0, hostApiIndex=1, hostApiType=WASAPI, hostApiName=Windows WASAPI, defaultLowLatency=0.0, defaultHighLatency=0.0), error: -9998, Invalid number of channels
2022-01-26 22:56:59,795 INFO [PortAudioDeviceBackend] Supported: PortAudioDevice(index=17, name=VoiceMeeter VAIO3 Output (VB-Audio VoiceMeeter VAIO3), type=Capture, isDefault=false, defaultSampleRate=44100.0, channels=2, hostApiIndex=1, hostApiType=WASAPI, hostApiName=Windows WASAPI, defaultLowLatency=0.01, defaultHighLatency=0.0)
2022-01-26 22:56:59,796 INFO [PortAudioDeviceBackend] Unsupported: PortAudioDevice(index=17, name=VoiceMeeter VAIO3 Output (VB-Audio VoiceMeeter VAIO3), type=Render, isDefault=false, defaultSampleRate=44100.0, channels=0, hostApiIndex=1, hostApiType=WASAPI, hostApiName=Windows WASAPI, defaultLowLatency=0.0, defaultHighLatency=0.0), error: -9998, Invalid number of channels
2022-01-26 22:56:59,797 INFO [PortAudioDeviceBackend] Supported: PortAudioDevice(index=18, name=VoiceMeeter Aux Output (VB-Audio VoiceMeeter AUX VAIO), type=Capture, isDefault=false, defaultSampleRate=44100.0, channels=2, hostApiIndex=1, hostApiType=WASAPI, hostApiName=Windows WASAPI, defaultLowLatency=0.01, defaultHighLatency=0.0)
2022-01-26 22:56:59,797 INFO [PortAudioDeviceBackend] Unsupported: PortAudioDevice(index=18, name=VoiceMeeter Aux Output (VB-Audio VoiceMeeter AUX VAIO), type=Render, isDefault=false, defaultSampleRate=44100.0, channels=0, hostApiIndex=1, hostApiType=WASAPI, hostApiName=Windows WASAPI, defaultLowLatency=0.0, defaultHighLatency=0.0), error: -9998, Invalid number of channels
2022-01-26 22:56:59,798 INFO [PortAudioDeviceBackend] Supported: PortAudioDevice(index=19, name=线路 (AudioBox USB iOne), type=Capture, isDefault=false, defaultSampleRate=44100.0, channels=2, hostApiIndex=1, hostApiType=WASAPI, hostApiName=Windows WASAPI, defaultLowLatency=0.01, defaultHighLatency=0.0)
2022-01-26 22:56:59,798 INFO [PortAudioDeviceBackend] Unsupported: PortAudioDevice(index=19, name=线路 (AudioBox USB iOne), type=Render, isDefault=false, defaultSampleRate=44100.0, channels=0, hostApiIndex=1, hostApiType=WASAPI, hostApiName=Windows WASAPI, defaultLowLatency=0.0, defaultHighLatency=0.0), error: -9998, Invalid number of channels
2022-01-26 22:56:59,798 INFO [PortAudioDeviceBackend] Unsupported: PortAudioDevice(index=20, name=SPDIF Out (Realtek HDA SPDIF Out), type=Capture, isDefault=false, defaultSampleRate=44100.0, channels=0, hostApiIndex=2, hostApiType=WDMKS, hostApiName=Windows WDM-KS, defaultLowLatency=0.04, defaultHighLatency=0.0), error: -9998, Invalid number of channels
2022-01-26 22:56:59,799 INFO [PortAudioDeviceBackend] Supported: PortAudioDevice(index=20, name=SPDIF Out (Realtek HDA SPDIF Out), type=Render, isDefault=false, defaultSampleRate=44100.0, channels=2, hostApiIndex=2, hostApiType=WDMKS, hostApiName=Windows WDM-KS, defaultLowLatency=0.01, defaultHighLatency=0.04)
2022-01-26 22:56:59,799 INFO [PortAudioDeviceBackend] Supported: PortAudioDevice(index=21, name=立体声混音 (Realtek HD Audio Stereo input), type=Capture, isDefault=false, defaultSampleRate=48000.0, channels=2, hostApiIndex=2, hostApiType=WDMKS, hostApiName=Windows WDM-KS, defaultLowLatency=0.04, defaultHighLatency=0.0)
2022-01-26 22:56:59,799 INFO [PortAudioDeviceBackend] Unsupported: PortAudioDevice(index=21, name=立体声混音 (Realtek HD Audio Stereo input), type=Render, isDefault=false, defaultSampleRate=48000.0, channels=0, hostApiIndex=2, hostApiType=WDMKS, hostApiName=Windows WDM-KS, defaultLowLatency=0.01, defaultHighLatency=0.04), error: -9998, Invalid number of channels
2022-01-26 22:56:59,799 INFO [PortAudioDeviceBackend] Supported: PortAudioDevice(index=22, name=线路输入 (Realtek HD Audio Line input), type=Capture, isDefault=false, defaultSampleRate=44100.0, channels=2, hostApiIndex=2, hostApiType=WDMKS, hostApiName=Windows WDM-KS, defaultLowLatency=0.04, defaultHighLatency=0.0)
2022-01-26 22:56:59,799 INFO [PortAudioDeviceBackend] Unsupported: PortAudioDevice(index=22, name=线路输入 (Realtek HD Audio Line input), type=Render, isDefault=false, defaultSampleRate=44100.0, channels=0, hostApiIndex=2, hostApiType=WDMKS, hostApiName=Windows WDM-KS, defaultLowLatency=0.01, defaultHighLatency=0.04), error: -9998, Invalid number of channels
2022-01-26 22:56:59,799 INFO [PortAudioDeviceBackend] Unsupported: PortAudioDevice(index=23, name=Speakers (Realtek HD Audio output), type=Capture, isDefault=false, defaultSampleRate=44100.0, channels=0, hostApiIndex=2, hostApiType=WDMKS, hostApiName=Windows WDM-KS, defaultLowLatency=0.04, defaultHighLatency=0.0), error: -9998, Invalid number of channels
2022-01-26 22:56:59,800 INFO [PortAudioDeviceBackend] Supported: PortAudioDevice(index=23, name=Speakers (Realtek HD Audio output), type=Render, isDefault=false, defaultSampleRate=44100.0, channels=8, hostApiIndex=2, hostApiType=WDMKS, hostApiName=Windows WDM-KS, defaultLowLatency=0.01, defaultHighLatency=0.04)
2022-01-26 22:56:59,800 INFO [PortAudioDeviceBackend] Supported: PortAudioDevice(index=24, name=麦克风 (Realtek HD Audio Mic input), type=Capture, isDefault=false, defaultSampleRate=44100.0, channels=2, hostApiIndex=2, hostApiType=WDMKS, hostApiName=Windows WDM-KS, defaultLowLatency=0.04, defaultHighLatency=0.0)
2022-01-26 22:56:59,800 INFO [PortAudioDeviceBackend] Unsupported: PortAudioDevice(index=24, name=麦克风 (Realtek HD Audio Mic input), type=Render, isDefault=false, defaultSampleRate=44100.0, channels=0, hostApiIndex=2, hostApiType=WDMKS, hostApiName=Windows WDM-KS, defaultLowLatency=0.01, defaultHighLatency=0.04), error: -9998, Invalid number of channels
2022-01-26 22:56:59,800 INFO [PortAudioDeviceBackend] Supported: PortAudioDevice(index=25, name=VoiceMeeter Output (VoiceMeeter vaio), type=Capture, isDefault=false, defaultSampleRate=44100.0, channels=8, hostApiIndex=2, hostApiType=WDMKS, hostApiName=Windows WDM-KS, defaultLowLatency=0.08533333333333333, defaultHighLatency=0.0)
2022-01-26 22:56:59,800 INFO [PortAudioDeviceBackend] Unsupported: PortAudioDevice(index=25, name=VoiceMeeter Output (VoiceMeeter vaio), type=Render, isDefault=false, defaultSampleRate=44100.0, channels=0, hostApiIndex=2, hostApiType=WDMKS, hostApiName=Windows WDM-KS, defaultLowLatency=0.01, defaultHighLatency=0.08533333333333333), error: -9998, Invalid number of channels
2022-01-26 22:56:59,800 INFO [PortAudioDeviceBackend] Unsupported: PortAudioDevice(index=26, name=Speakers (VoiceMeeter vaio), type=Capture, isDefault=false, defaultSampleRate=44100.0, channels=0, hostApiIndex=2, hostApiType=WDMKS, hostApiName=Windows WDM-KS, defaultLowLatency=0.08533333333333333, defaultHighLatency=0.0), error: -9998, Invalid number of channels
2022-01-26 22:56:59,801 INFO [PortAudioDeviceBackend] Supported: PortAudioDevice(index=26, name=Speakers (VoiceMeeter vaio), type=Render, isDefault=false, defaultSampleRate=44100.0, channels=8, hostApiIndex=2, hostApiType=WDMKS, hostApiName=Windows WDM-KS, defaultLowLatency=0.01, defaultHighLatency=0.08533333333333333)
2022-01-26 22:56:59,801 INFO [PortAudioDeviceBackend] Supported: PortAudioDevice(index=27, name=VoiceMeeter Aux Output (VoiceMeeter Aux vaio), type=Capture, isDefault=false, defaultSampleRate=44100.0, channels=8, hostApiIndex=2, hostApiType=WDMKS, hostApiName=Windows WDM-KS, defaultLowLatency=0.08533333333333333, defaultHighLatency=0.0)
2022-01-26 22:56:59,801 INFO [PortAudioDeviceBackend] Unsupported: PortAudioDevice(index=27, name=VoiceMeeter Aux Output (VoiceMeeter Aux vaio), type=Render, isDefault=false, defaultSampleRate=44100.0, channels=0, hostApiIndex=2, hostApiType=WDMKS, hostApiName=Windows WDM-KS, defaultLowLatency=0.01, defaultHighLatency=0.08533333333333333), error: -9998, Invalid number of channels
2022-01-26 22:56:59,801 INFO [PortAudioDeviceBackend] Unsupported: PortAudioDevice(index=28, name=Speakers (VoiceMeeter Aux vaio), type=Capture, isDefault=false, defaultSampleRate=44100.0, channels=0, hostApiIndex=2, hostApiType=WDMKS, hostApiName=Windows WDM-KS, defaultLowLatency=0.08533333333333333, defaultHighLatency=0.0), error: -9998, Invalid number of channels
2022-01-26 22:56:59,801 INFO [PortAudioDeviceBackend] Supported: PortAudioDevice(index=28, name=Speakers (VoiceMeeter Aux vaio), type=Render, isDefault=false, defaultSampleRate=44100.0, channels=8, hostApiIndex=2, hostApiType=WDMKS, hostApiName=Windows WDM-KS, defaultLowLatency=0.01, defaultHighLatency=0.08533333333333333)
2022-01-26 22:56:59,801 INFO [PortAudioDeviceBackend] Supported: PortAudioDevice(index=29, name=VoiceMeeter VAIO3 Output (VoiceMeeter VAIO3), type=Capture, isDefault=false, defaultSampleRate=44100.0, channels=8, hostApiIndex=2, hostApiType=WDMKS, hostApiName=Windows WDM-KS, defaultLowLatency=0.08533333333333333, defaultHighLatency=0.0)
2022-01-26 22:56:59,801 INFO [PortAudioDeviceBackend] Unsupported: PortAudioDevice(index=29, name=VoiceMeeter VAIO3 Output (VoiceMeeter VAIO3), type=Render, isDefault=false, defaultSampleRate=44100.0, channels=0, hostApiIndex=2, hostApiType=WDMKS, hostApiName=Windows WDM-KS, defaultLowLatency=0.01, defaultHighLatency=0.08533333333333333), error: -9998, Invalid number of channels
2022-01-26 22:56:59,802 INFO [PortAudioDeviceBackend] Unsupported: PortAudioDevice(index=30, name=Speakers (VoiceMeeter VAIO3), type=Capture, isDefault=false, defaultSampleRate=44100.0, channels=0, hostApiIndex=2, hostApiType=WDMKS, hostApiName=Windows WDM-KS, defaultLowLatency=0.08533333333333333, defaultHighLatency=0.0), error: -9998, Invalid number of channels
2022-01-26 22:56:59,802 INFO [PortAudioDeviceBackend] Supported: PortAudioDevice(index=30, name=Speakers (VoiceMeeter VAIO3), type=Render, isDefault=false, defaultSampleRate=44100.0, channels=8, hostApiIndex=2, hostApiType=WDMKS, hostApiName=Windows WDM-KS, defaultLowLatency=0.01, defaultHighLatency=0.08533333333333333)
2022-01-26 22:56:59,804 INFO [PortAudioDeviceBackend] Unsupported: PortAudioDevice(index=31, name=扬声器 (PreSonus AudioBox iOne), type=Capture, isDefault=false, defaultSampleRate=44100.0, channels=0, hostApiIndex=2, hostApiType=WDMKS, hostApiName=Windows WDM-KS, defaultLowLatency=0.08533333333333333, defaultHighLatency=0.0), error: -9998, Invalid number of channels
2022-01-26 22:56:59,805 INFO [PortAudioDeviceBackend] Unsupported: PortAudioDevice(index=31, name=扬声器 (PreSonus AudioBox iOne), type=Render, isDefault=false, defaultSampleRate=44100.0, channels=2, hostApiIndex=2, hostApiType=WDMKS, hostApiName=Windows WDM-KS, defaultLowLatency=0.01, defaultHighLatency=0.08533333333333333), error: -9994, Sample format not supported
2022-01-26 22:56:59,806 INFO [PortAudioDeviceBackend] Unsupported: PortAudioDevice(index=32, name=线路 (PreSonus AudioBox iOne), type=Capture, isDefault=false, defaultSampleRate=44100.0, channels=2, hostApiIndex=2, hostApiType=WDMKS, hostApiName=Windows WDM-KS, defaultLowLatency=0.08533333333333333, defaultHighLatency=0.0), error: -9994, Sample format not supported
2022-01-26 22:56:59,806 INFO [PortAudioDeviceBackend] Unsupported: PortAudioDevice(index=32, name=线路 (PreSonus AudioBox iOne), type=Render, isDefault=false, defaultSampleRate=44100.0, channels=0, hostApiIndex=2, hostApiType=WDMKS, hostApiName=Windows WDM-KS, defaultLowLatency=0.01, defaultHighLatency=0.08533333333333333), error: -9998, Invalid number of channels
2022-01-26 22:57:00,017 INFO [IpcMessages] Messages socket created
2022-01-26 22:57:00,017 INFO [IpcAudio] Audio socket connected
2022-01-26 22:57:00,124 INFO [IpcBackendStatusProbe] Backend is ready
2022-01-26 22:57:00,124 INFO [AR] Requesting startup settings...
2022-01-26 22:57:00,171 INFO [AR] Showing main window...
2022-01-26 22:57:00,385 INFO [AR] Found no update
2022-01-26 22:57:01,696 INFO [AR] Windows' backend devices: [WindowsAudioDevice(id={0.0.0.00000000}.{52337407-c069-4ef9-b823-cf6008ef0f37}, type=Render, name=Realtek Digital Output (Realtek High Definition Audio), isDefault=false, sampleRate=48000, channels=2), WindowsAudioDevice(id={0.0.0.00000000}.{38ecba56-7dcc-4001-85b5-4b623cd6a19d}, type=Render, name=VoiceMeeter Aux Input (VB-Audio VoiceMeeter AUX VAIO), isDefault=false, sampleRate=44100, channels=2), WindowsAudioDevice(id={0.0.1.00000000}.{acbe9a5e-2498-4135-976b-70eb2c5bfec0}, type=Capture, name=VoiceMeeter Aux Output (VB-Audio VoiceMeeter AUX VAIO), isDefault=false, sampleRate=44100, channels=2), WindowsAudioDevice(id={0.0.0.00000000}.{021fb059-a078-47b0-8e1d-5322649e6148}, type=Render, name=VoiceMeeter Input (VB-Audio VoiceMeeter VAIO), isDefault=false, sampleRate=44100, channels=2), WindowsAudioDevice(id={0.0.1.00000000}.{4b9047ff-7d42-44f4-bd96-223676445546}, type=Capture, name=VoiceMeeter Output (VB-Audio VoiceMeeter VAIO), isDefault=false, sampleRate=44100, channels=2), WindowsAudioDevice(id={0.0.0.00000000}.{3cc412c4-b324-42ae-ad3a-332f877f4936}, type=Render, name=VoiceMeeter VAIO3 Input (VB-Audio VoiceMeeter VAIO3), isDefault=true, sampleRate=44100, channels=2), WindowsAudioDevice(id={0.0.1.00000000}.{5318ebc6-ca59-4ea9-8532-628ec1d928a3}, type=Capture, name=VoiceMeeter VAIO3 Output (VB-Audio VoiceMeeter VAIO3), isDefault=false, sampleRate=44100, channels=2), WindowsAudioDevice(id={0.0.0.00000000}.{be4fa3de-0c71-4059-b44f-e5d8b1929ae8}, type=Render, name=扬声器 (AudioBox USB iOne), isDefault=false, sampleRate=44100, channels=2), WindowsAudioDevice(id={0.0.1.00000000}.{c716689a-fe1d-4b50-a9c7-ef46506cde5c}, type=Capture, name=线路 (AudioBox USB iOne), isDefault=false, sampleRate=44100, channels=2)]
2022-01-26 22:57:01,752 INFO [ClientListener] Remote device connected: 124.160.214.159
2022-01-26 22:57:01,839 INFO [IpcWindowsCaptureService] Asking backend to start capture...
2022-01-26 22:57:01,910 INFO [AR] Loading opus.dll...
2022-01-26 22:57:01,915 INFO [AR] Loading native-opus.dll...
2022-01-26 22:57:02,429 INFO [AR] No data emitted by pipeline, sending empty values...
2022-01-26 22:57:02,464 INFO [AR] Network addresses: NetworkInfo(broadcastAddresses=[192.168.50.255], localAddresses=[192.168.50.135])
2022-01-26 22:57:02,927 INFO [AR] Audio pipeline is emitting values
2022-01-26 22:57:06,890 ERROR [server_session] Stopping the session due to an error
java.io.IOException: The inputStream is closed.
	at com.azefsw.audioconnect.k.g.a.a.c.a(SourceFile:44) ~[audiorelay.jar:?]
	at io.reactivex.internal.operators.observable.ObservableCreate.subscribeActual(Unknown Source) [com.azefsw.merged.module:?]
	at io.reactivex.Observable.subscribe(Unknown Source) [com.azefsw.merged.module:?]
	at io.reactivex.internal.operators.observable.ObservableSubscribeOn$SubscribeTask.run(Unknown Source) [com.azefsw.merged.module:?]
	at io.reactivex.Scheduler$DisposeTask.run(Unknown Source) [com.azefsw.merged.module:?]
	at io.reactivex.internal.schedulers.ScheduledRunnable.run(Unknown Source) [com.azefsw.merged.module:?]
	at io.reactivex.internal.schedulers.ScheduledRunnable.call(Unknown Source) [com.azefsw.merged.module:?]
	at java.util.concurrent.FutureTask.run(Unknown Source) [?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) [?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:?]
	at java.lang.Thread.run(Unknown Source) [?:?]
2022-01-26 22:57:06,895 INFO [server_session] Remote device disconnected: 124.160.214.159...
2022-01-26 22:57:06,896 INFO [IpcWindowsCaptureService] Asking backend to stop capture...
2022-01-26 22:57:06,961 INFO [ClientListener] Remote device connected: 124.160.214.159
2022-01-26 22:57:07,012 INFO [IpcWindowsCaptureService] Asking backend to start capture...
2022-01-26 22:57:07,051 INFO [AR] Loading opus.dll...
2022-01-26 22:57:07,053 INFO [AR] Loading native-opus.dll...
2022-01-26 22:57:07,569 INFO [AR] Audio pipeline is emitting values
2022-01-26 22:57:12,089 ERROR [server_session] Stopping the session due to an error
java.io.IOException: The inputStream is closed.
	at com.azefsw.audioconnect.k.g.a.a.c.a(SourceFile:44) ~[audiorelay.jar:?]
	at io.reactivex.internal.operators.observable.ObservableCreate.subscribeActual(Unknown Source) [com.azefsw.merged.module:?]
	at io.reactivex.Observable.subscribe(Unknown Source) [com.azefsw.merged.module:?]
	at io.reactivex.internal.operators.observable.ObservableSubscribeOn$SubscribeTask.run(Unknown Source) [com.azefsw.merged.module:?]
	at io.reactivex.Scheduler$DisposeTask.run(Unknown Source) [com.azefsw.merged.module:?]
	at io.reactivex.internal.schedulers.ScheduledRunnable.run(Unknown Source) [com.azefsw.merged.module:?]
	at io.reactivex.internal.schedulers.ScheduledRunnable.call(Unknown Source) [com.azefsw.merged.module:?]
	at java.util.concurrent.FutureTask.run(Unknown Source) [?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) [?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:?]
	at java.lang.Thread.run(Unknown Source) [?:?]
2022-01-26 22:57:12,090 INFO [server_session] Remote device disconnected: 124.160.214.159...
2022-01-26 22:57:12,092 INFO [IpcWindowsCaptureService] Asking backend to stop capture...
2022-01-26 22:57:12,127 INFO [ClientListener] Remote device connected: 124.160.214.159
2022-01-26 22:57:12,177 INFO [IpcWindowsCaptureService] Asking backend to start capture...
2022-01-26 22:57:12,210 INFO [AR] Loading opus.dll...
2022-01-26 22:57:12,211 INFO [AR] Loading native-opus.dll...
2022-01-26 22:57:12,725 INFO [AR] Audio pipeline is emitting values
2022-01-26 22:57:17,232 ERROR [server_session] Stopping the session due to an error
java.io.IOException: The inputStream is closed.
	at com.azefsw.audioconnect.k.g.a.a.c.a(SourceFile:44) ~[audiorelay.jar:?]
	at io.reactivex.internal.operators.observable.ObservableCreate.subscribeActual(Unknown Source) [com.azefsw.merged.module:?]
	at io.reactivex.Observable.subscribe(Unknown Source) [com.azefsw.merged.module:?]
	at io.reactivex.internal.operators.observable.ObservableSubscribeOn$SubscribeTask.run(Unknown Source) [com.azefsw.merged.module:?]
	at io.reactivex.Scheduler$DisposeTask.run(Unknown Source) [com.azefsw.merged.module:?]
	at io.reactivex.internal.schedulers.ScheduledRunnable.run(Unknown Source) [com.azefsw.merged.module:?]
	at io.reactivex.internal.schedulers.ScheduledRunnable.call(Unknown Source) [com.azefsw.merged.module:?]
	at java.util.concurrent.FutureTask.run(Unknown Source) [?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) [?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:?]
	at java.lang.Thread.run(Unknown Source) [?:?]
2022-01-26 22:57:17,232 INFO [server_session] Remote device disconnected: 124.160.214.159...
2022-01-26 22:57:17,233 INFO [IpcWindowsCaptureService] Asking backend to stop capture...
2022-01-26 22:57:17,303 INFO [ClientListener] Remote device connected: 124.160.214.159
2022-01-26 22:57:17,355 INFO [IpcWindowsCaptureService] Asking backend to start capture...
2022-01-26 22:57:17,395 INFO [AR] Loading opus.dll...
2022-01-26 22:57:17,398 INFO [AR] Loading native-opus.dll...
2022-01-26 22:57:17,910 INFO [AR] Audio pipeline is emitting values
2022-01-26 22:57:22,412 ERROR [server_session] Stopping the session due to an error

1.ip can ping through

2.Port forwarding has been set up for UDP and even tried to set the connected host to DMZ. unfortunately hd’u

3.I found that I just couldn’t transfer audio data and that the phone could mute the computer via the app. (Everything happens on a WAN connection, everything works fine on a LAN connection)

4.Please check the log I posted above, you may be able to find the problem

Hi @okmijnuhb,

Would you mind testing the latest version?
It’s available here at the moment.

I managed to connect over the internet and with a hostname by using https://tailscale.com/.

Same here. I can’t make it to work in WAN with my IP.
Is connecting fine to the computer but says no audio.
I can toggle mute or change the volume, but no sound.

The interface on PC looks like is disconnecting and connecting in a loop.

2022-04-27 16:19:13,063 INFO Version: 0.24.7, os: Windows 10, osVersion: 10.0
2022-04-27 16:19:13,388 INFO Initializing locale to en
2022-04-27 16:19:13,404 INFO Starting IpcCoordinatorService ...
2022-04-27 16:19:13,446 INFO Waiting for devices from windows' backend...
2022-04-27 16:19:13,450 INFO Got open ports at 59300 and 59350
2022-04-27 16:19:13,451 INFO Starting the server...
2022-04-27 16:19:13,460 INFO Waiting for devices from PortAudio...
2022-04-27 16:19:13,482 INFO Status initializing
2022-04-27 16:19:13,482 INFO Starting backend...
2022-04-27 16:19:13,483 INFO Audio socket waiting on a connection...
2022-04-27 16:19:13,483 INFO Messages socket waiting on a connection...
2022-04-27 16:19:13,484 INFO Portaudio version: PortAudio V19.7.0-devel, revision unknown
2022-04-27 16:19:13,495 INFO Checking for update...
2022-04-27 16:19:13,567 INFO Wait for backend backend...
2022-04-27 16:19:13,736 INFO Status initialized
2022-04-27 16:19:13,828 INFO Showing main window...
2022-04-27 16:19:13,997 INFO Found no update
2022-04-27 16:19:14,239 INFO Messages socket created
2022-04-27 16:19:14,239 INFO Audio socket connected
2022-04-27 16:19:14,308 INFO Backend is ready
2022-04-27 16:19:14,310 INFO Requesting startup settings...
2022-04-27 16:19:15,027 INFO Windows' backend devices: [WindowsAudioDevice(id={0.0.0.00000000}.{fb6d0a2b-54e5-4623-b27f-efcfb20cfd5d}, type=Render, name=CABLE Input (VB-Audio Virtual Cable), isDefault=false, sampleRate=48000, channels=2), WindowsAudioDevice(id={0.0.1.00000000}.{aeb328e1-b9eb-4d55-893f-78b9cdd7b0b6}, type=Capture, name=CABLE Output (VB-Audio Virtual Cable), isDefault=false, sampleRate=48000, channels=2), WindowsAudioDevice(id={0.0.0.00000000}.{ec58b681-1313-48d1-90a6-697d098c5756}, type=Render, name=CABLE-A Input (VB-Audio Cable A), isDefault=false, sampleRate=48000, channels=2), WindowsAudioDevice(id={0.0.1.00000000}.{3edc6026-999f-4e3d-998d-b9ee04c9affe}, type=Capture, name=CABLE-A Output (VB-Audio Cable A), isDefault=false, sampleRate=48000, channels=2), WindowsAudioDevice(id={0.0.1.00000000}.{e9976dd2-3f96-48bf-8262-9209bfc6a2cf}, type=Capture, name=Microphone (Realtek High Definition Audio), isDefault=false, sampleRate=48000, channels=2), WindowsAudioDevice(id={0.0.0.00000000}.{af16586b-451b-4d80-af46-f32526aac51e}, type=Render, name=Speakers (Realtek High Definition Audio), isDefault=true, sampleRate=48000, channels=2), WindowsAudioDevice(id={0.0.1.00000000}.{60dde262-13bd-4832-b9de-9558e007a9c8}, type=Capture, name=Stereo Mix (Realtek High Definition Audio), isDefault=false, sampleRate=48000, channels=2)]
2022-04-27 16:19:16,419 INFO Network addresses: NetworkInfo(broadcastAddresses=[192.168.0.255], localAddresses=[192.168.0.100])
2022-04-27 16:19:21,352 INFO Remote device connected: XXX.XXX.XXX.XXX
2022-04-27 16:19:21,387 INFO Received client config, clientVersion: 0.24.9, os: ANDROID, osVersion: Android API 26
2022-04-27 16:19:21,424 INFO Asking backend to start capture. EventSync: true, ContinuousStream: true, AudioConfig: AudioConfig(sampleRate=48000, bits=16, channels=2), AudioDevice: Speakers (Realtek High Definition Audio), 
2022-04-27 16:19:21,962 INFO No data emitted by pipeline, sending empty values...
2022-04-27 16:19:22,464 INFO Audio pipeline is emitting values
2022-04-27 16:19:26,417 ERROR Stopping the session due to an error
aft: null
	at aft$Pzj7.a(SourceFile:17) ~[audiorelay.jar:?]
	at anc.a(SourceFile:79) ~[audiorelay.jar:?]
	at aDw.a(SourceFile:40) [audiorelay.jar:?]
	at aBf.b(SourceFile:12284) [audiorelay.jar:?]
	at aEi$Q5.run(SourceFile:96) [audiorelay.jar:?]
	at aBl$Pzj7.run(SourceFile:578) [audiorelay.jar:?]
	at aEN.run(SourceFile:66) [audiorelay.jar:?]
	at aEN.call(SourceFile:57) [audiorelay.jar:?]
	at java.util.concurrent.FutureTask.run(Unknown Source) [?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) [?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:?]
	at java.lang.Thread.run(Unknown Source) [?:?]
2022-04-27 16:19:26,422 INFO Remote device disconnected: XXX.XXX.XXX.XXX...
2022-04-27 16:19:26,424 INFO Asking backend to stop capture...
2022-04-27 16:19:26,428 INFO Remote device connected: XXX.XXX.XXX.XXX
2022-04-27 16:19:26,446 INFO Received client config, clientVersion: 0.24.9, os: ANDROID, osVersion: Android API 26
2022-04-27 16:19:26,449 INFO Asking backend to start capture. EventSync: true, ContinuousStream: true, AudioConfig: AudioConfig(sampleRate=48000, bits=16, channels=2), AudioDevice: Speakers (Realtek High Definition Audio), 
2022-04-27 16:19:26,952 INFO No data emitted by pipeline, sending empty values...
2022-04-27 16:19:27,451 INFO Audio pipeline is emitting values
2022-04-27 16:19:31,469 ERROR Stopping the session due to an error
aft: null
	at aft$Pzj7.a(SourceFile:17) ~[audiorelay.jar:?]
	at anc.a(SourceFile:79) ~[audiorelay.jar:?]
	at aDw.a(SourceFile:40) [audiorelay.jar:?]
	at aBf.b(SourceFile:12284) [audiorelay.jar:?]
	at aEi$Q5.run(SourceFile:96) [audiorelay.jar:?]
	at aBl$Pzj7.run(SourceFile:578) [audiorelay.jar:?]
	at aEN.run(SourceFile:66) [audiorelay.jar:?]
	at aEN.call(SourceFile:57) [audiorelay.jar:?]
	at java.util.concurrent.FutureTask.run(Unknown Source) [?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) [?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:?]
	at java.lang.Thread.run(Unknown Source) [?:?]
2022-04-27 16:19:31,471 INFO Remote device disconnected: XXX.XXX.XXX.XXX...
2022-04-27 16:19:31,472 INFO Asking backend to stop capture...
2022-04-27 16:19:31,478 INFO Remote device connected: XXX.XXX.XXX.XXX
2022-04-27 16:19:31,488 INFO Received client config, clientVersion: 0.24.9, os: ANDROID, osVersion: Android API 26
2022-04-27 16:19:31,493 INFO Asking backend to start capture. EventSync: true, ContinuousStream: true, AudioConfig: AudioConfig(sampleRate=48000, bits=16, channels=2), AudioDevice: Speakers (Realtek High Definition Audio), 
2022-04-27 16:19:31,996 INFO Audio pipeline is emitting values
2022-04-27 16:19:36,510 ERROR Stopping the session due to an error
aft: null
	at aft$Pzj7.a(SourceFile:17) ~[audiorelay.jar:?]
	at anc.a(SourceFile:79) ~[audiorelay.jar:?]
	at aDw.a(SourceFile:40) [audiorelay.jar:?]
	at aBf.b(SourceFile:12284) [audiorelay.jar:?]
	at aEi$Q5.run(SourceFile:96) [audiorelay.jar:?]
	at aBl$Pzj7.run(SourceFile:578) [audiorelay.jar:?]
	at aEN.run(SourceFile:66) [audiorelay.jar:?]
	at aEN.call(SourceFile:57) [audiorelay.jar:?]
	at java.util.concurrent.FutureTask.run(Unknown Source) [?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) [?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:?]
	at java.lang.Thread.run(Unknown Source) [?:?]
2022-04-27 16:19:36,511 INFO Remote device disconnected: XXX.XXX.XXX.XXX...
2022-04-27 16:19:36,512 INFO Asking backend to stop capture...
2022-04-27 16:19:36,520 INFO Remote device connected: XXX.XXX.XXX.XXX
2022-04-27 16:19:36,532 INFO Received client config, clientVersion: 0.24.9, os: ANDROID, osVersion: Android API 26
2022-04-27 16:19:36,537 INFO Asking backend to start capture. EventSync: true, ContinuousStream: true, AudioConfig: AudioConfig(sampleRate=48000, bits=16, channels=2), AudioDevice: Speakers (Realtek High Definition Audio), 
2022-04-27 16:19:37,040 INFO Audio pipeline is emitting values
2022-04-27 16:19:41,565 ERROR Stopping the session due to an error
aft: null
	at aft$Pzj7.a(SourceFile:17) ~[audiorelay.jar:?]
	at anc.a(SourceFile:79) ~[audiorelay.jar:?]
	at aDw.a(SourceFile:40) [audiorelay.jar:?]
	at aBf.b(SourceFile:12284) [audiorelay.jar:?]
	at aEi$Q5.run(SourceFile:96) [audiorelay.jar:?]
	at aBl$Pzj7.run(SourceFile:578) [audiorelay.jar:?]
	at aEN.run(SourceFile:66) [audiorelay.jar:?]
	at aEN.call(SourceFile:57) [audiorelay.jar:?]
	at java.util.concurrent.FutureTask.run(Unknown Source) [?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) [?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:?]
	at java.lang.Thread.run(Unknown Source) [?:?]
2022-04-27 16:19:41,566 INFO Remote device disconnected: XXX.XXX.XXX.XXX...
2022-04-27 16:19:41,567 INFO Asking backend to stop capture...
2022-04-27 16:19:41,573 INFO Remote device connected: XXX.XXX.XXX.XXX
2022-04-27 16:19:41,582 INFO Received client config, clientVersion: 0.24.9, os: ANDROID, osVersion: Android API 26
2022-04-27 16:19:41,585 INFO Asking backend to start capture. EventSync: true, ContinuousStream: true, AudioConfig: AudioConfig(sampleRate=48000, bits=16, channels=2), AudioDevice: Speakers (Realtek High Definition Audio), 
2022-04-27 16:19:42,092 INFO No data emitted by pipeline, sending empty values...
2022-04-27 16:19:42,590 INFO Audio pipeline is emitting values
2022-04-27 16:19:46,034 INFO Remote device disconnected: XXX.XXX.XXX.XXX...
2022-04-27 16:19:46,036 INFO Asking backend to stop capture...

@andro_marian The TCP connection is established which allows you to change the volume etc. but the UDP packets transporting the audio data don’t reach the phone.

Right now, it’ll work only if you can do port forwarding on both the PC’s network router and phone’s one.
If you connect your phone to your PC:

  • On your PC’s router, redirect TCP 59100 to the PC’s IP address
  • On your phone’s router, redirect UDP 59100 to the phone’s IP address

Saying that, I couldn’t make it work with this setup:

  • Both the PC and the phone on the same network
  • Set port redirections as stated above
  • Try to connect the phone to the PC via the network’s WAN address

It didn’t work because the desktop app receives a connection coming from the router’s local IP address (e.g: 192.168.1.1 or 192.168.1.254) instead of the network’s WAN IP. Thus, it sends UDP packets to the router which drops them I guess.

It works fine using Tailscale though.

You’ll have make to do with the above info or use Tailscale/a VPN for the moment.

The feature request is tracked here