Full
```
`D/tgvoip: === Updating voip config ===
D/tgvoip: {"audio_frame_size":60,"jitter_min_delay_60":2,"jitter_max_delay_60":10,"jitter_max_slots_60":20,"jitter_losses_to_reset":20,"jitter_resync_threshold":0.5,"audio_congestion_window":1024,"audio_max_bitrate":20000,"audio_max_bitrate_edge":16000,"audio_max_bitrate_gprs":8000,"audio_max_bitrate_saving":8000,"audio_init_bitrate":16000,"audio_init_bitrate_edge":8000,"audio_init_bitrate_gprs":8000,"audio_init_bitrate_saving":8000,"audio_bitrate_step_incr":1000,"audio_bitrate_step_decr":1000,"use_system_ns":true,"use_system_aec":true,"force_tcp":false,"jitter_initial_delay_60":2,"adsp_good_impls":"(Qualcomm Fluence)","bad_call_rating":true,"use_ios_vpio_agc":false,"use_tcp":false,"audio_medium_fec_bitrate":20000,"audio_medium_fec_multiplier":0.1,"audio_strong_fec_bitrate":7000}
Invalid return value 0 for stream protocol
Invalid return value 0 for stream protocol
Invalid return value 0 for stream protocol
Invalid return value 0 for stream protocol
Invalid return value 0 for stream protocol
W/tgvoip: Set remote endpoints, allowP2P=1, connectionMaxLayer=92
V/tgvoip: Adding endpoint: 91.108.8.5:529, UDP
V/tgvoip: Adding endpoint: 91.108.8.2:525, UDP
V/tgvoip: Adding endpoint: 134.209.178.131:556, UDP
V/tgvoip: Adding endpoint: 134.209.176.124:559, UDP
V/tgvoip: Adding endpoint: 134.209.178.88:551, UDP
I/tgvoip: update data saving mode, config 0, enabled 0, reqd by peer 0
W/tgvoip: Starting voip controller
V/tgvoip: trying bind to port 22096
D/tgvoip: Bound to local UDP port 22096
I/tgvoip: Receive thread starting
V/tgvoip: Socket 50 is ready to send
W/tgvoip: Send udp pings
V/tgvoip: Sending UDP ping to 91.108.8.2:525, id -6847512338875891162
V/tgvoip: Sending UDP ping to 91.108.8.5:529, id -1849550732001029210
V/tgvoip: Sending UDP ping to 134.209.178.88:551, id 3034953001337212323
V/tgvoip: Sending UDP ping to 134.209.178.131:556, id -1294558973318804840
V/tgvoip: Sending UDP ping to 134.209.176.124:559, id 5418206665796023264
I/tgvoip: before create audio io
E/tgvoip: Error connecting to audio device 'alsa_output.usb-Sennheiser_Communications_Sennheiser_USB_headset-00.analog-stereo'
I/tgvoip: Detected IPv4 connectivity, will not try IPv6
V/tgvoip: Received UDP ping reply from 91.108.8.5:529: date=1590666863, queryID=-1849550732001029210, my IP=188.242.232.151, my port=22096
V/tgvoip: Received UDP ping reply from 91.108.8.2:525: date=1590666863, queryID=-6847512338875891162, my IP=188.242.232.151, my port=22096
V/tgvoip: Received UDP ping reply from 134.209.178.131:556: date=1590666853, queryID=-1294558973318804840, my IP=188.242.232.151, my port=22096
V/tgvoip: Received UDP ping reply from 134.209.176.124:559: date=1590665986, queryID=5418206665796023264, my IP=188.242.232.151, my port=22096
V/tgvoip: Received UDP ping reply from 134.209.178.88:551: date=1590666324, queryID=3034953001337212323, my IP=188.242.232.151, my port=22096
D/tgvoip: Received init
I/tgvoip: Peer version is 9
I/tgvoip: Sending init ack
W/tgvoip: Received duplicated packet for seq 1
W/tgvoip: Received duplicated packet for seq 1
W/tgvoip: Send udp pings
V/tgvoip: Sending UDP ping to 91.108.8.2:525, id -2191080295762826530
V/tgvoip: Sending UDP ping to 91.108.8.5:529, id -2762363908319129241
V/tgvoip: Sending UDP ping to 134.209.178.88:551, id 7415532472709501621
V/tgvoip: Sending UDP ping to 134.209.178.131:556, id 2022069282021777549
V/tgvoip: Sending UDP ping to 134.209.176.124:559, id -5751110303857363684
V/tgvoip: Received UDP ping reply from 91.108.8.5:529: date=1590666863, queryID=-2762363908319129241, my IP=188.242.232.151, my port=22096
V/tgvoip: Received UDP ping reply from 91.108.8.2:525: date=1590666863, queryID=-2191080295762826530, my IP=188.242.232.151, my port=22096
V/tgvoip: Received UDP ping reply from 134.209.178.131:556: date=1590666853, queryID=2022069282021777549, my IP=188.242.232.151, my port=22096
V/tgvoip: Received UDP ping reply from 134.209.176.124:559: date=1590665987, queryID=-5751110303857363684, my IP=188.242.232.151, my port=22096
V/tgvoip: Received UDP ping reply from 134.209.178.88:551: date=1590666325, queryID=7415532472709501621, my IP=188.242.232.151, my port=22096
D/tgvoip: Received init
I/tgvoip: Peer version is 9
I/tgvoip: Sending init ack
W/tgvoip: Received duplicated packet for seq 2
W/tgvoip: Received duplicated packet for seq 2
W/tgvoip: Send udp pings
V/tgvoip: Sending UDP ping to 91.108.8.2:525, id 5781859582634363714
V/tgvoip: Sending UDP ping to 91.108.8.5:529, id -2671869513508291776
V/tgvoip: Sending UDP ping to 134.209.178.88:551, id 973314738861699199
V/tgvoip: Sending UDP ping to 134.209.178.131:556, id -436299053707897792
V/tgvoip: Sending UDP ping to 134.209.176.124:559, id 8993068345602473172
V/tgvoip: Received UDP ping reply from 91.108.8.5:529: date=1590666864, queryID=-2671869513508291776, my IP=188.242.232.151, my port=22096
V/tgvoip: Received UDP ping reply from 91.108.8.2:525: date=1590666864, queryID=5781859582634363714, my IP=188.242.232.151, my port=22096
V/tgvoip: Received UDP ping reply from 134.209.178.131:556: date=1590666854, queryID=-436299053707897792, my IP=188.242.232.151, my port=22096
V/tgvoip: Received UDP ping reply from 134.209.178.88:551: date=1590666325, queryID=973314738861699199, my IP=188.242.232.151, my port=22096
V/tgvoip: Received UDP ping reply from 134.209.176.124:559: date=1590665987, queryID=8993068345602473172, my IP=188.242.232.151, my port=22096
D/tgvoip: Received init
I/tgvoip: Peer version is 9
I/tgvoip: Sending init ack
W/tgvoip: Received duplicated packet for seq 3
W/tgvoip: Received duplicated packet for seq 3
W/tgvoip: Send udp pings
V/tgvoip: Sending UDP ping to 91.108.8.2:525, id -2083052710607967241
V/tgvoip: Sending UDP ping to 91.108.8.5:529, id 8194450518977447189
V/tgvoip: Sending UDP ping to 134.209.178.88:551, id 8999810417916951248
V/tgvoip: Sending UDP ping to 134.209.178.131:556, id 2739283158769002992
V/tgvoip: Sending UDP ping to 134.209.176.124:559, id -2930393588355638507
V/tgvoip: Received UDP ping reply from 91.108.8.5:529: date=1590666864, queryID=8194450518977447189, my IP=188.242.232.151, my port=22096
V/tgvoip: Received UDP ping reply from 91.108.8.2:525: date=1590666864, queryID=-2083052710607967241, my IP=188.242.232.151, my port=22096
V/tgvoip: Received UDP ping reply from 134.209.178.131:556: date=1590666854, queryID=2739283158769002992, my IP=188.242.232.151, my port=22096
V/tgvoip: Received UDP ping reply from 134.209.178.88:551: date=1590666326, queryID=8999810417916951248, my IP=188.242.232.151, my port=22096
V/tgvoip: Received UDP ping reply from 134.209.176.124:559: date=1590665988, queryID=-2930393588355638507, my IP=188.242.232.151, my port=22096
D/tgvoip: Received init
I/tgvoip: Peer version is 9
I/tgvoip: Sending init ack
W/tgvoip: Received duplicated packet for seq 4
W/tgvoip: Received duplicated packet for seq 4
D/tgvoip: Received init
I/tgvoip: Peer version is 9
I/tgvoip: Sending init ack
W/tgvoip: Received duplicated packet for seq 5
W/tgvoip: Received duplicated packet for seq 5
I/tgvoip: UDP ping reply count: 4.00
D/tgvoip: Entered VoIPController::Stop
D/tgvoip: before shutdown socket
D/tgvoip: before join sendThread
V/tgvoip: Select canceled
I/tgvoip: === recv thread exiting ===
```
I think the issue is here:
E/tgvoip: Error connecting to audio device 'alsa_output.usb-Sennheiser_Communications_Sennheiser_USB_headset-00.analog-stereo'
After I change audio device in the settings to valid one the issue is gone. Maybe it should be handled on libtgvoip level or it's telegram-desktop issue?
OS: Fedora 32 tg-version: 2.1.6 debuginfo:
Full
``` `D/tgvoip: === Updating voip config === D/tgvoip: {"audio_frame_size":60,"jitter_min_delay_60":2,"jitter_max_delay_60":10,"jitter_max_slots_60":20,"jitter_losses_to_reset":20,"jitter_resync_threshold":0.5,"audio_congestion_window":1024,"audio_max_bitrate":20000,"audio_max_bitrate_edge":16000,"audio_max_bitrate_gprs":8000,"audio_max_bitrate_saving":8000,"audio_init_bitrate":16000,"audio_init_bitrate_edge":8000,"audio_init_bitrate_gprs":8000,"audio_init_bitrate_saving":8000,"audio_bitrate_step_incr":1000,"audio_bitrate_step_decr":1000,"use_system_ns":true,"use_system_aec":true,"force_tcp":false,"jitter_initial_delay_60":2,"adsp_good_impls":"(Qualcomm Fluence)","bad_call_rating":true,"use_ios_vpio_agc":false,"use_tcp":false,"audio_medium_fec_bitrate":20000,"audio_medium_fec_multiplier":0.1,"audio_strong_fec_bitrate":7000} Invalid return value 0 for stream protocol Invalid return value 0 for stream protocol Invalid return value 0 for stream protocol Invalid return value 0 for stream protocol Invalid return value 0 for stream protocol W/tgvoip: Set remote endpoints, allowP2P=1, connectionMaxLayer=92 V/tgvoip: Adding endpoint: 91.108.8.5:529, UDP V/tgvoip: Adding endpoint: 91.108.8.2:525, UDP V/tgvoip: Adding endpoint: 134.209.178.131:556, UDP V/tgvoip: Adding endpoint: 134.209.176.124:559, UDP V/tgvoip: Adding endpoint: 134.209.178.88:551, UDP I/tgvoip: update data saving mode, config 0, enabled 0, reqd by peer 0 W/tgvoip: Starting voip controller V/tgvoip: trying bind to port 22096 D/tgvoip: Bound to local UDP port 22096 I/tgvoip: Receive thread starting V/tgvoip: Socket 50 is ready to send W/tgvoip: Send udp pings V/tgvoip: Sending UDP ping to 91.108.8.2:525, id -6847512338875891162 V/tgvoip: Sending UDP ping to 91.108.8.5:529, id -1849550732001029210 V/tgvoip: Sending UDP ping to 134.209.178.88:551, id 3034953001337212323 V/tgvoip: Sending UDP ping to 134.209.178.131:556, id -1294558973318804840 V/tgvoip: Sending UDP ping to 134.209.176.124:559, id 5418206665796023264 I/tgvoip: before create audio io E/tgvoip: Error connecting to audio device 'alsa_output.usb-Sennheiser_Communications_Sennheiser_USB_headset-00.analog-stereo' I/tgvoip: Detected IPv4 connectivity, will not try IPv6 V/tgvoip: Received UDP ping reply from 91.108.8.5:529: date=1590666863, queryID=-1849550732001029210, my IP=188.242.232.151, my port=22096 V/tgvoip: Received UDP ping reply from 91.108.8.2:525: date=1590666863, queryID=-6847512338875891162, my IP=188.242.232.151, my port=22096 V/tgvoip: Received UDP ping reply from 134.209.178.131:556: date=1590666853, queryID=-1294558973318804840, my IP=188.242.232.151, my port=22096 V/tgvoip: Received UDP ping reply from 134.209.176.124:559: date=1590665986, queryID=5418206665796023264, my IP=188.242.232.151, my port=22096 V/tgvoip: Received UDP ping reply from 134.209.178.88:551: date=1590666324, queryID=3034953001337212323, my IP=188.242.232.151, my port=22096 D/tgvoip: Received init I/tgvoip: Peer version is 9 I/tgvoip: Sending init ack W/tgvoip: Received duplicated packet for seq 1 W/tgvoip: Received duplicated packet for seq 1 W/tgvoip: Send udp pings V/tgvoip: Sending UDP ping to 91.108.8.2:525, id -2191080295762826530 V/tgvoip: Sending UDP ping to 91.108.8.5:529, id -2762363908319129241 V/tgvoip: Sending UDP ping to 134.209.178.88:551, id 7415532472709501621 V/tgvoip: Sending UDP ping to 134.209.178.131:556, id 2022069282021777549 V/tgvoip: Sending UDP ping to 134.209.176.124:559, id -5751110303857363684 V/tgvoip: Received UDP ping reply from 91.108.8.5:529: date=1590666863, queryID=-2762363908319129241, my IP=188.242.232.151, my port=22096 V/tgvoip: Received UDP ping reply from 91.108.8.2:525: date=1590666863, queryID=-2191080295762826530, my IP=188.242.232.151, my port=22096 V/tgvoip: Received UDP ping reply from 134.209.178.131:556: date=1590666853, queryID=2022069282021777549, my IP=188.242.232.151, my port=22096 V/tgvoip: Received UDP ping reply from 134.209.176.124:559: date=1590665987, queryID=-5751110303857363684, my IP=188.242.232.151, my port=22096 V/tgvoip: Received UDP ping reply from 134.209.178.88:551: date=1590666325, queryID=7415532472709501621, my IP=188.242.232.151, my port=22096 D/tgvoip: Received init I/tgvoip: Peer version is 9 I/tgvoip: Sending init ack W/tgvoip: Received duplicated packet for seq 2 W/tgvoip: Received duplicated packet for seq 2 W/tgvoip: Send udp pings V/tgvoip: Sending UDP ping to 91.108.8.2:525, id 5781859582634363714 V/tgvoip: Sending UDP ping to 91.108.8.5:529, id -2671869513508291776 V/tgvoip: Sending UDP ping to 134.209.178.88:551, id 973314738861699199 V/tgvoip: Sending UDP ping to 134.209.178.131:556, id -436299053707897792 V/tgvoip: Sending UDP ping to 134.209.176.124:559, id 8993068345602473172 V/tgvoip: Received UDP ping reply from 91.108.8.5:529: date=1590666864, queryID=-2671869513508291776, my IP=188.242.232.151, my port=22096 V/tgvoip: Received UDP ping reply from 91.108.8.2:525: date=1590666864, queryID=5781859582634363714, my IP=188.242.232.151, my port=22096 V/tgvoip: Received UDP ping reply from 134.209.178.131:556: date=1590666854, queryID=-436299053707897792, my IP=188.242.232.151, my port=22096 V/tgvoip: Received UDP ping reply from 134.209.178.88:551: date=1590666325, queryID=973314738861699199, my IP=188.242.232.151, my port=22096 V/tgvoip: Received UDP ping reply from 134.209.176.124:559: date=1590665987, queryID=8993068345602473172, my IP=188.242.232.151, my port=22096 D/tgvoip: Received init I/tgvoip: Peer version is 9 I/tgvoip: Sending init ack W/tgvoip: Received duplicated packet for seq 3 W/tgvoip: Received duplicated packet for seq 3 W/tgvoip: Send udp pings V/tgvoip: Sending UDP ping to 91.108.8.2:525, id -2083052710607967241 V/tgvoip: Sending UDP ping to 91.108.8.5:529, id 8194450518977447189 V/tgvoip: Sending UDP ping to 134.209.178.88:551, id 8999810417916951248 V/tgvoip: Sending UDP ping to 134.209.178.131:556, id 2739283158769002992 V/tgvoip: Sending UDP ping to 134.209.176.124:559, id -2930393588355638507 V/tgvoip: Received UDP ping reply from 91.108.8.5:529: date=1590666864, queryID=8194450518977447189, my IP=188.242.232.151, my port=22096 V/tgvoip: Received UDP ping reply from 91.108.8.2:525: date=1590666864, queryID=-2083052710607967241, my IP=188.242.232.151, my port=22096 V/tgvoip: Received UDP ping reply from 134.209.178.131:556: date=1590666854, queryID=2739283158769002992, my IP=188.242.232.151, my port=22096 V/tgvoip: Received UDP ping reply from 134.209.178.88:551: date=1590666326, queryID=8999810417916951248, my IP=188.242.232.151, my port=22096 V/tgvoip: Received UDP ping reply from 134.209.176.124:559: date=1590665988, queryID=-2930393588355638507, my IP=188.242.232.151, my port=22096 D/tgvoip: Received init I/tgvoip: Peer version is 9 I/tgvoip: Sending init ack W/tgvoip: Received duplicated packet for seq 4 W/tgvoip: Received duplicated packet for seq 4 D/tgvoip: Received init I/tgvoip: Peer version is 9 I/tgvoip: Sending init ack W/tgvoip: Received duplicated packet for seq 5 W/tgvoip: Received duplicated packet for seq 5 I/tgvoip: UDP ping reply count: 4.00 D/tgvoip: Entered VoIPController::Stop D/tgvoip: before shutdown socket D/tgvoip: before join sendThread V/tgvoip: Select canceled I/tgvoip: === recv thread exiting === ```I think the issue is here: E/tgvoip: Error connecting to audio device 'alsa_output.usb-Sennheiser_Communications_Sennheiser_USB_headset-00.analog-stereo'
After I change audio device in the settings to valid one the issue is gone. Maybe it should be handled on libtgvoip level or it's telegram-desktop issue?