Open zevlg opened 5 years ago
What is on the other end of the call?
Call is accepted and stuck in "Connecting..." state
Still no luck with updated version, here is the logs:
---------------
libtgvoip v2.5 on Linux 4.8.0-36-generic (#36~16.04.1-Ubuntu SMP Sun Feb 5 09:39:57 UTC 2017) x86_64
Log started on 12/09/2019 at 11:07:25
---------------
09-12 11:07:25 I: update data saving mode, config 0, enabled 0, reqd by peer 0
09-12 11:07:25 D: === Updating voip config ===
09-12 11:07:25 D: {"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}
09-12 11:07:25 W: Set remote endpoints, allowP2P=0, connectionMaxLayer=65
09-12 11:07:25 V: Adding endpoint: 91.108.8.2:530, UDP
09-12 11:07:25 V: Adding endpoint: 91.108.8.5:521, UDP
09-12 11:07:25 V: Adding endpoint: 134.209.176.124:555, UDP
09-12 11:07:25 V: Adding endpoint: 134.209.178.131:555, UDP
09-12 11:07:25 V: Adding endpoint: 134.209.178.88:559, UDP
09-12 11:07:25 W: Starting voip controller
09-12 11:07:25 V: trying bind to port 19521
09-12 11:07:25 D: Bound to local UDP port 19521
09-12 11:07:25 I: Receive thread starting
09-12 11:07:25 V: Socket 27 is ready to send
09-12 11:07:25 W: Send udp pings
09-12 11:07:25 V: Sending UDP ping to 91.108.8.5:521, id 3183072039443264946
09-12 11:07:25 V: Sending UDP ping to 91.108.8.2:530, id 1428996541403704619
09-12 11:07:25 V: Sending UDP ping to 134.209.176.124:555, id 1141310959146440585
09-12 11:07:25 V: Sending UDP ping to 134.209.178.131:555, id -3970808309205227345
09-12 11:07:25 V: Sending UDP ping to 134.209.178.88:559, id -9035547164576168338
09-12 11:07:25 I: before create audio io
09-12 11:07:26 I: AEC: 1 NS: 1 AGC: 1
09-12 11:07:26 I: Audio initialization took 0.026965 seconds
09-12 11:07:26 V: Call state changed to 2
09-12 11:07:26 I: Detected IPv4 connectivity, will not try IPv6
09-12 11:07:26 V: Received UDP ping reply from 134.209.178.88:559: date=1568275459, queryID=-9035547164576168338, my IP=95.24.150.100, my port=19521, selfRTT=0.058031
09-12 11:07:26 V: Received UDP ping reply from 134.209.176.124:555: date=1568275312, queryID=1141310959146440585, my IP=95.24.150.100, my port=19521, selfRTT=0.058091
09-12 11:07:26 V: Received UDP ping reply from 134.209.178.131:555: date=1568275603, queryID=-3970808309205227345, my IP=95.24.150.100, my port=19521, selfRTT=0.058092
09-12 11:07:26 W: Received a packet of unknown type F0834101
09-12 11:07:26 W: Received a packet of unknown type F0834101
09-12 11:07:26 W: Received a packet of unknown type F0834101
09-12 11:07:26 W: Send udp pings
09-12 11:07:26 V: Sending UDP ping to 91.108.8.5:521, id -6293058094549900483
09-12 11:07:26 V: Sending UDP ping to 91.108.8.2:530, id 6298924739322755338
09-12 11:07:26 V: Sending UDP ping to 134.209.176.124:555, id -3742338182071183359
09-12 11:07:26 V: Sending UDP ping to 134.209.178.131:555, id -5759177365399559924
09-12 11:07:26 V: Sending UDP ping to 134.209.178.88:559, id 505571635691106626
09-12 11:07:26 V: Received UDP ping reply from 134.209.178.88:559: date=1568275459, queryID=505571635691106626, my IP=95.24.150.100, my port=19521, selfRTT=0.055098
09-12 11:07:26 V: Received UDP ping reply from 134.209.176.124:555: date=1568275312, queryID=-3742338182071183359, my IP=95.24.150.100, my port=19521, selfRTT=0.056082
09-12 11:07:26 V: Received UDP ping reply from 134.209.178.131:555: date=1568275604, queryID=-5759177365399559924, my IP=95.24.150.100, my port=19521, selfRTT=0.056881
09-12 11:07:26 W: Received a packet of unknown type D4AD4B01
09-12 11:07:26 W: Received a packet of unknown type D4AD4B01
09-12 11:07:26 W: Received a packet of unknown type D4AD4B01
09-12 11:07:26 W: Send udp pings
09-12 11:07:26 V: Sending UDP ping to 91.108.8.5:521, id 4169579147837508015
09-12 11:07:26 V: Sending UDP ping to 91.108.8.2:530, id -6735354996551527262
09-12 11:07:26 V: Sending UDP ping to 134.209.176.124:555, id -1129803951668856870
09-12 11:07:26 V: Sending UDP ping to 134.209.178.131:555, id 2438488916037910230
09-12 11:07:26 V: Sending UDP ping to 134.209.178.88:559, id -7064725103864981373
09-12 11:07:27 V: Received UDP ping reply from 134.209.178.88:559: date=1568275460, queryID=-7064725103864981373, my IP=95.24.150.100, my port=19521, selfRTT=0.056046
09-12 11:07:27 V: Received UDP ping reply from 134.209.176.124:555: date=1568275313, queryID=-1129803951668856870, my IP=95.24.150.100, my port=19521, selfRTT=0.056175
09-12 11:07:27 V: Received UDP ping reply from 134.209.178.131:555: date=1568275604, queryID=2438488916037910230, my IP=95.24.150.100, my port=19521, selfRTT=0.056304
09-12 11:07:27 W: Received a packet of unknown type 817E8801
09-12 11:07:27 W: Received a packet of unknown type 817E8801
09-12 11:07:27 W: Received a packet of unknown type 817E8801
09-12 11:07:27 W: Send udp pings
09-12 11:07:27 V: Sending UDP ping to 91.108.8.5:521, id 9201647366718775583
09-12 11:07:27 V: Sending UDP ping to 91.108.8.2:530, id 3868431510549141432
09-12 11:07:27 V: Sending UDP ping to 134.209.176.124:555, id 4444867449107406200
09-12 11:07:27 V: Sending UDP ping to 134.209.178.131:555, id 6145414081938702160
09-12 11:07:27 V: Sending UDP ping to 134.209.178.88:559, id 5317858510528753998
09-12 11:07:27 V: Received UDP ping reply from 134.209.178.88:559: date=1568275460, queryID=5317858510528753998, my IP=95.24.150.100, my port=19521, selfRTT=0.055990
09-12 11:07:27 V: Received UDP ping reply from 134.209.176.124:555: date=1568275313, queryID=4444867449107406200, my IP=95.24.150.100, my port=19521, selfRTT=0.056227
09-12 11:07:27 V: Received UDP ping reply from 134.209.178.131:555: date=1568275605, queryID=6145414081938702160, my IP=95.24.150.100, my port=19521, selfRTT=0.056485
09-12 11:07:27 W: Received a packet of unknown type C353E201
09-12 11:07:27 W: Received a packet of unknown type C353E201
09-12 11:07:27 W: Received a packet of unknown type C353E201
09-12 11:07:28 W: Received a packet of unknown type C4EBD701
09-12 11:07:28 W: Received a packet of unknown type C4EBD701
09-12 11:07:28 W: Received a packet of unknown type C4EBD701
09-12 11:07:28 I: UDP ping reply count: 4.00
09-12 11:07:28 W: Received a packet of unknown type 7FC59201
09-12 11:07:28 W: Received a packet of unknown type 7FC59201
09-12 11:07:28 W: Received a packet of unknown type 7FC59201
09-12 11:07:29 W: Received a packet of unknown type BD5B7501
09-12 11:07:29 W: Received a packet of unknown type BD5B7501
09-12 11:07:29 W: Received a packet of unknown type BD5B7501
09-12 11:07:29 W: Received a packet of unknown type ACAE8001
09-12 11:07:29 W: Received a packet of unknown type ACAE8001
09-12 11:07:29 W: Received a packet of unknown type ACAE8001
09-12 11:07:30 W: Received a packet of unknown type 4A603301
09-12 11:07:30 W: Received a packet of unknown type 4A603301
09-12 11:07:30 W: Received a packet of unknown type 4A603301
09-12 11:07:30 W: Received a packet of unknown type 52A25201
09-12 11:07:30 W: Received a packet of unknown type 52A25201
09-12 11:07:30 W: Received a packet of unknown type 52A25201
09-12 11:07:31 W: Received a packet of unknown type 52A25201
09-12 11:07:31 W: Received a packet of unknown type 52A25201
09-12 11:07:31 W: Received a packet of unknown type 52A25201
09-12 11:07:31 W: Received a packet of unknown type 5DAD1101
09-12 11:07:31 W: Received a packet of unknown type 5DAD1101
09-12 11:07:31 W: Received a packet of unknown type 5DAD1101
09-12 11:07:32 W: Received a packet of unknown type 5DAD1101
09-12 11:07:32 W: Received a packet of unknown type 5DAD1101
09-12 11:07:32 W: Received a packet of unknown type 5DAD1101
09-12 11:07:32 W: Received a packet of unknown type DFEB4B01
09-12 11:07:32 W: Received a packet of unknown type DFEB4B01
09-12 11:07:32 W: Received a packet of unknown type DFEB4B01
09-12 11:07:33 W: Received a packet of unknown type 3C1C3901
09-12 11:07:33 W: Received a packet of unknown type 3C1C3901
09-12 11:07:33 W: Received a packet of unknown type 3C1C3901
09-12 11:07:33 W: Received a packet of unknown type FF0C1701
09-12 11:07:33 W: Received a packet of unknown type FF0C1701
09-12 11:07:33 W: Received a packet of unknown type FF0C1701
09-12 11:07:34 W: Received a packet of unknown type FF0C1701
09-12 11:07:34 W: Received a packet of unknown type FF0C1701
09-12 11:07:34 W: Received a packet of unknown type FF0C1701
09-12 11:07:34 W: Received a packet of unknown type F1184A01
09-12 11:07:34 W: Received a packet of unknown type F1184A01
09-12 11:07:34 W: Received a packet of unknown type F1184A01
09-12 11:07:35 W: Received a packet of unknown type 484CE301
09-12 11:07:35 W: Received a packet of unknown type 484CE301
09-12 11:07:35 W: Received a packet of unknown type 484CE301
09-12 11:07:35 W: Received a packet of unknown type 643F9001
09-12 11:07:35 W: Received a packet of unknown type 643F9001
09-12 11:07:35 W: Received a packet of unknown type 643F9001
09-12 11:07:36 W: Received a packet of unknown type 1AB70801
09-12 11:07:36 W: Received a packet of unknown type 1AB70801
09-12 11:07:36 W: Received a packet of unknown type 1AB70801
09-12 11:07:36 W: Received a packet of unknown type 939C5201
09-12 11:07:36 W: Received a packet of unknown type 939C5201
09-12 11:07:36 W: Received a packet of unknown type 939C5201
09-12 11:07:37 W: Received a packet of unknown type F12FF501
09-12 11:07:37 W: Received a packet of unknown type F12FF501
09-12 11:07:37 W: Received a packet of unknown type F12FF501
09-12 11:07:37 W: Received a packet of unknown type F12FF501
09-12 11:07:37 W: Received a packet of unknown type F12FF501
09-12 11:07:37 W: Received a packet of unknown type F12FF501
09-12 11:07:38 W: Received a packet of unknown type AE64FB01
09-12 11:07:38 W: Received a packet of unknown type AE64FB01
09-12 11:07:38 W: Received a packet of unknown type AE64FB01
09-12 11:07:38 W: Received a packet of unknown type 22F37301
09-12 11:07:38 W: Received a packet of unknown type 22F37301
09-12 11:07:38 W: Received a packet of unknown type 22F37301
09-12 11:07:39 D: Entered VoIPController::Stop
09-12 11:07:39 D: before shutdown socket
09-12 11:07:39 D: before join sendThread
09-12 11:07:39 V: Select canceled
09-12 11:07:39 I: === recv thread exiting ===
09-12 11:07:39 I: === send thread exiting ===
09-12 11:07:39 D: before join recvThread
09-12 11:07:39 D: before stop messageThread
09-12 11:07:39 D: Before stop audio I/O
09-12 11:07:39 D: Left VoIPController::Stop [need rate = 0]
09-12 11:07:39 D: Entered VoIPController::~VoIPController
09-12 11:07:39 D: before close socket
09-12 11:07:39 D: before delete audioIO
09-12 11:07:39 D: before delete encoder
09-12 11:07:39 D: before delete echo canceller
09-12 11:07:39 D: Left VoIPController::~VoIPController
What are those "Received a packet of unknown type" ?
Official telegram-desktop client (with some old libtgvoip) have no problems connecting to the same peer. Here is logs from it
D/tgvoip: === Updating voip config ===
V/tgvoip: adsp_good_impls -> (Qualcomm Fluence)
V/tgvoip: audio_bitrate_step_decr -> 1000.000000
V/tgvoip: audio_bitrate_step_incr -> 1000.000000
V/tgvoip: audio_congestion_window -> 1024.000000
V/tgvoip: audio_frame_size -> 60.000000
V/tgvoip: audio_init_bitrate -> 16000.000000
V/tgvoip: audio_init_bitrate_edge -> 8000.000000
V/tgvoip: audio_init_bitrate_gprs -> 8000.000000
V/tgvoip: audio_init_bitrate_saving -> 8000.000000
V/tgvoip: audio_max_bitrate -> 20000.000000
V/tgvoip: audio_max_bitrate_edge -> 16000.000000
V/tgvoip: audio_max_bitrate_gprs -> 8000.000000
V/tgvoip: audio_max_bitrate_saving -> 8000.000000
V/tgvoip: audio_medium_fec_bitrate -> 20000.000000
V/tgvoip: audio_medium_fec_multiplier -> 0.100000
V/tgvoip: audio_strong_fec_bitrate -> 7000.000000
V/tgvoip: bad_call_rating -> true
V/tgvoip: force_tcp -> false
V/tgvoip: jitter_initial_delay_60 -> 2.000000
V/tgvoip: jitter_losses_to_reset -> 20.000000
V/tgvoip: jitter_max_delay_60 -> 10.000000
V/tgvoip: jitter_max_slots_60 -> 20.000000
V/tgvoip: jitter_min_delay_60 -> 2.000000
V/tgvoip: jitter_resync_threshold -> 0.500000
V/tgvoip: use_ios_vpio_agc -> false
V/tgvoip: use_system_aec -> true
V/tgvoip: use_system_ns -> true
V/tgvoip: use_tcp -> false
V/tgvoip: new endpoint 2368788869244: 134.209.176.124:551
V/tgvoip: new endpoint 2398853640792: 134.209.178.88:558
V/tgvoip: new endpoint 2269276538882: 91.108.8.2:528
V/tgvoip: new endpoint 2381673771651: 134.209.178.131:554
V/tgvoip: new endpoint 2243506735109: 91.108.8.5:522
W/tgvoip: Set remote endpoints
V/tgvoip: Adding endpoint: 134.209.176.124:551, UDP
V/tgvoip: Adding endpoint: 134.209.178.88:558, UDP
V/tgvoip: Adding endpoint: 91.108.8.2:528, UDP
V/tgvoip: Adding endpoint: 134.209.178.131:554, UDP
V/tgvoip: Adding endpoint: 91.108.8.5:522, 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 17436
D/tgvoip: Bound to local UDP port 17436
E/tgvoip: can't set thread priority: Operation not permitted
I/tgvoip: Receive thread starting
E/tgvoip: can't set thread priority: Operation not permitted
E/tgvoip: can't set thread priority: Operation not permitted
V/tgvoip: Call state changed to 2
V/tgvoip: Sending UDP ping to 134.209.176.124:551
V/tgvoip: Sending UDP ping to 134.209.178.88:558
V/tgvoip: Sending UDP ping to 91.108.8.2:528
V/tgvoip: Sending UDP ping to 134.209.178.131:554
V/tgvoip: Sending UDP ping to 91.108.8.5:522
D/tgvoip: SIGNAL BAR COUNT CHANGED: 1
I/tgvoip: Detected IPv4 connectivity, will not try IPv6
D/tgvoip: SIGNAL BAR COUNT CHANGED: 2
D/tgvoip: SIGNAL BAR COUNT CHANGED: 3
D/tgvoip: SIGNAL BAR COUNT CHANGED: 4
D/tgvoip: Received init
I/tgvoip: Peer version is 9
W/tgvoip: Received duplicated packet for seq 1
W/tgvoip: Received duplicated packet for seq 1
V/tgvoip: Call state changed to 2
D/tgvoip: Received init ack
I/tgvoip: peer version from init ack 9
I/tgvoip: before create audio io
V/tgvoip: starting encoder, packets per frame=3
E/tgvoip: can't set thread priority: Operation not permitted
E/tgvoip: can't set thread priority: Operation not permitted
I/tgvoip: decoder: packets per frame 3
W/tgvoip: jitter: found no packet for timestamp 0 (last put = 0, lost = 0)
W/tgvoip: jitter: found no packet for timestamp 60 (last put = 0, lost = 0)
V/tgvoip: Trying to recover late packet
W/tgvoip: jitter: found no packet for timestamp 0 (last put = 0, lost = 0)
I/tgvoip: Sending public endpoints request
D/tgvoip: Sending public endpoints request to 134.209.176.124:551
V/tgvoip: PLC
V/tgvoip: opus_encoder: setting bitrate to 16000
V/tgvoip: new endpoint 0: 95.24.150.100:24782
W/tgvoip: Received reflector peer info, my=6496185F:17436, peer=6496185F:24782
W/tgvoip: Detected LAN
I/tgvoip: Interface lo, address 127.0.0.1
I/tgvoip: Interface wlp4s0, address 192.168.1.16
D/tgvoip: Send reliably, type=10, len=8, retry=0,500, timeout=10,000
D/tgvoip: Sending queued packet, seq=6, type=10, len=8
V/tgvoip: received lan endpoint
V/tgvoip: new endpoint 0: 192.168.1.94:24782
D/tgvoip: queued packet 0, seq 0=6
V/tgvoip: remote acks index 4294967294, value -1,000000
D/tgvoip: queued packet 0, seq 1=0
D/tgvoip: Received init
I/tgvoip: Peer version is 9
W/tgvoip: Received duplicated packet for seq 4
W/tgvoip: Received duplicated packet for seq 4
V/tgvoip: Call state changed to 3
I/tgvoip: jitter: resyncing, next timestamp = -120 (step=60, minDelay=2)
W/tgvoip: jitter: found no packet for timestamp -120 (last put = 0, lost = 0)
V/tgvoip: Trying to recover late packet
W/tgvoip: jitter: found no packet for timestamp -180 (last put = 0, lost = 0)
V/tgvoip: PLC
V/tgvoip: Sending ping to 134.209.176.124
V/tgvoip: Sending ping to 134.209.178.88
V/tgvoip: Sending ping to 91.108.8.2
V/tgvoip: Sending ping to 134.209.178.131
V/tgvoip: Sending ping to 91.108.8.5
V/tgvoip: Sending ping to 95.24.150.100
V/tgvoip: Sending ping to 192.168.1.94
D/tgvoip: queued packet 0, seq 0=6
V/tgvoip: remote acks index 10, value 163631,435772
D/tgvoip: did ack seq 6, removing
D/tgvoip: Current RTT via 192.168.1.94: 0,003, average: 0,003
W/tgvoip: jitter: found no packet for timestamp -60 (last put = 0, lost = 0)
V/tgvoip: Trying to recover late packet
W/tgvoip: jitter: found no packet for timestamp -120 (last put = 0, lost = 0)
V/tgvoip: PLC
V/tgvoip: opus_encoder: setting bitrate to 17000
I/tgvoip: jitter: resyncing, next timestamp = -60 (step=60, minDelay=2)
I/tgvoip: jitter: resyncing, next timestamp = 0 (step=60, minDelay=2)
D/tgvoip: Current RTT via 134.209.178.88: 0,109, average: 0,109
V/tgvoip: Trying to recover late packet
W/tgvoip: jitter: found no packet for timestamp -60 (last put = 120, lost = 0)
D/tgvoip: Current RTT via 134.209.178.131: 0,114, average: 0,114
D/tgvoip: Current RTT via 134.209.176.124: 0,116, average: 0,116
I/tgvoip: Switching to p2p (LAN)
I/tgvoip: jitter: resyncing, next timestamp = 120 (step=60, minDelay=2)
I/tgvoip: jitter: resyncing, next timestamp = 240 (step=60, minDelay=2)
I/tgvoip: jitter: resyncing, next timestamp = 300 (step=60, minDelay=2)
W/tgvoip: jitter: found no packet for timestamp 300 (last put = 480, lost = 0)
I/tgvoip: jitter: resyncing, next timestamp = 420 (step=60, minDelay=2)
V/tgvoip: Trying to recover late packet
W/tgvoip: jitter: found no packet for timestamp 360 (last put = 540, lost = 0)
I/tgvoip: jitter: resyncing, next timestamp = 540 (step=60, minDelay=2)
I/tgvoip: jitter: resyncing, next timestamp = 660 (step=60, minDelay=2)
I/tgvoip: jitter: resyncing, next timestamp = 720 (step=60, minDelay=2)
I/tgvoip: jitter: resyncing, next timestamp = 840 (step=60, minDelay=2)
V/tgvoip: opus_encoder: setting bitrate to 18000
I/tgvoip: jitter: resyncing, next timestamp = 960 (step=60, minDelay=2)
W/tgvoip: jitter: found no packet for timestamp 960 (last put = 1080, lost = 0)
I/tgvoip: jitter: resyncing, next timestamp = 1020 (step=60, minDelay=2)
V/tgvoip: Trying to recover late packet
W/tgvoip: jitter: found no packet for timestamp 960 (last put = 1140, lost = 0)
I/tgvoip: jitter: resyncing, next timestamp = 1140 (step=60, minDelay=2)
I/tgvoip: jitter: resyncing, next timestamp = 1260 (step=60, minDelay=2)
D/tgvoip: Received ping from 192.168.1.94:24782
W/tgvoip: jitter: found no packet for timestamp 1260 (last put = 1380, lost = 0)
I/tgvoip: jitter: resyncing, next timestamp = 1320 (step=60, minDelay=2)
D/tgvoip: Received ping from 134.209.178.88:558
D/tgvoip: Received ping from 134.209.176.124:551
D/tgvoip: Received ping from 134.209.178.131:554
V/tgvoip: Trying to recover late packet
W/tgvoip: jitter: found no packet for timestamp 1260 (last put = 1500, lost = 0)
I/tgvoip: jitter: resyncing, next timestamp = 1440 (step=60, minDelay=2)
I/tgvoip: jitter: resyncing, next timestamp = 1560 (step=60, minDelay=2)
I/tgvoip: jitter: resyncing, next timestamp = 1620 (step=60, minDelay=2)
I/tgvoip: jitter: resyncing, next timestamp = 1740 (step=60, minDelay=2)
I/tgvoip: jitter: resyncing, next timestamp = 1860 (step=60, minDelay=2)
W/tgvoip: jitter: found no packet for timestamp 1860 (last put = 1980, lost = 0)
I/tgvoip: jitter: resyncing, next timestamp = 1920 (step=60, minDelay=2)
V/tgvoip: opus_encoder: setting bitrate to 19000
V/tgvoip: Trying to recover late packet
W/tgvoip: jitter: found no packet for timestamp 1860 (last put = 2040, lost = 0)
I/tgvoip: jitter: resyncing, next timestamp = 2040 (step=60, minDelay=2)
I/tgvoip: jitter: resyncing, next timestamp = 2160 (step=60, minDelay=2)
I/tgvoip: jitter: resyncing, next timestamp = 2220 (step=60, minDelay=2)
I/tgvoip: jitter: resyncing, next timestamp = 2340 (step=60, minDelay=2)
I/tgvoip: jitter: resyncing, next timestamp = 2460 (step=60, minDelay=2)
I/tgvoip: jitter: resyncing, next timestamp = 2520 (step=60, minDelay=2)
I/tgvoip: jitter: resyncing, next timestamp = 2640 (step=60, minDelay=2)
W/tgvoip: jitter: found no packet for timestamp 2640 (last put = 2820, lost = 0)
I/tgvoip: jitter: resyncing, next timestamp = 2760 (step=60, minDelay=2)
V/tgvoip: Trying to recover late packet
W/tgvoip: jitter: found no packet for timestamp 2700 (last put = 2880, lost = 0)
I/tgvoip: jitter: resyncing, next timestamp = 2820 (step=60, minDelay=2)
V/tgvoip: opus_encoder: setting bitrate to 20000
I/tgvoip: jitter: resyncing, next timestamp = 2940 (step=60, minDelay=2)
W/tgvoip: jitter: found no packet for timestamp 2940 (last put = 3060, lost = 0)
I/tgvoip: jitter: resyncing, next timestamp = 3000 (step=60, minDelay=2)
V/tgvoip: Trying to recover late packet
W/tgvoip: jitter: found no packet for timestamp 2940 (last put = 3180, lost = 0)
I/tgvoip: jitter: resyncing, next timestamp = 3120 (step=60, minDelay=2)
I/tgvoip: jitter: resyncing, next timestamp = 3240 (step=60, minDelay=2)
I/tgvoip: jitter: resyncing, next timestamp = 3360 (step=60, minDelay=2)
I/tgvoip: jitter: resyncing, next timestamp = 3480 (step=60, minDelay=2)
W/tgvoip: jitter: found no packet for timestamp 3480 (last put = 3660, lost = 0)
V/tgvoip: Trying to recover late packet
W/tgvoip: jitter: found no packet for timestamp 3480 (last put = 3660, lost = 0)
I/tgvoip: jitter: resyncing, next timestamp = 3600 (step=60, minDelay=2)
W/tgvoip: Received duplicated packet for seq 79
I/tgvoip: jitter: resyncing, next timestamp = 3720 (step=60, minDelay=2)
I/tgvoip: jitter: resyncing, next timestamp = 3840 (step=60, minDelay=2)
W/tgvoip: jitter: found no packet for timestamp 3900 (last put = 3960, lost = 0)
I/tgvoip: jitter: resyncing, next timestamp = 3900 (step=60, minDelay=2)
W/tgvoip: jitter: found no packet for timestamp 3900 (last put = 4020, lost = 1)
V/tgvoip: Trying to recover late packet
W/tgvoip: jitter: found no packet for timestamp 3840 (last put = 4020, lost = 2)
V/tgvoip: PLC
I/tgvoip: jitter: resyncing, next timestamp = 3960 (step=60, minDelay=2)
V/tgvoip: Trying to recover late packet
W/tgvoip: jitter: found no packet for timestamp 3900 (last put = 4080, lost = 0)
I/tgvoip: jitter: resyncing, next timestamp = 4080 (step=60, minDelay=2)
I/tgvoip: jitter: resyncing, next timestamp = 4200 (step=60, minDelay=2)
W/tgvoip: jitter: found no packet for timestamp 4200 (last put = 4320, lost = 0)
I/tgvoip: jitter: resyncing, next timestamp = 4260 (step=60, minDelay=2)
V/tgvoip: Trying to recover late packet
W/tgvoip: jitter: found no packet for timestamp 4200 (last put = 4380, lost = 0)
I/tgvoip: jitter: resyncing, next timestamp = 4380 (step=60, minDelay=2)
I/tgvoip: jitter: resyncing, next timestamp = 4500 (step=60, minDelay=2)
I/tgvoip: jitter: resyncing, next timestamp = 4560 (step=60, minDelay=2)
I/tgvoip: jitter: resyncing, next timestamp = 4680 (step=60, minDelay=2)
I/tgvoip: jitter: resyncing, next timestamp = 4800 (step=60, minDelay=2)
I/tgvoip: jitter: resyncing, next timestamp = 4860 (step=60, minDelay=2)
I/tgvoip: jitter: resyncing, next timestamp = 4980 (step=60, minDelay=2)
I/tgvoip: jitter: resyncing, next timestamp = 5100 (step=60, minDelay=2)
D/tgvoip: Entered VoIPController::~VoIPController
D/tgvoip: before shutdown socket
D/tgvoip: before join sendThread
V/tgvoip: Select canceled
I/tgvoip: === recv thread exiting ===
E/tgvoip: tried to send null packet
I/tgvoip: === send thread exiting ===
D/tgvoip: before join recvThread
D/tgvoip: before join tickThread
I/tgvoip: === tick thread exiting ===
D/tgvoip: before close socket
D/tgvoip: before delete jitter buffer
D/tgvoip: before stop decoder
I/tgvoip: ==== decoder exiting ====
D/tgvoip: before delete audio input
D/tgvoip: before delete encoder
D/tgvoip: before delete audio output
D/tgvoip: before delete decoder
D/tgvoip: before delete echo canceller
D/tgvoip: Left VoIPController::~VoIPController
Thanks
I'm having problems connecting to official telegram client using
libtgvoip
here is the log:
The code using
libtgvoip
is pretty simple.What am I doing wrong?
Thanks