Hi,
Calls get disconnected when entering, or- if successful- leaving the screen
sharing mode. Sharing starts OK about 40 to 50% of the time, while leaving is
much less successful- calls almost always stop (~90%). This is a fairly
longstanding bug, talking months.
Debian 9, amd64, dring log, the call fails when attempting to share the screen:
[sdp @ 0x0a0000000000] max delay reached. need to consume packet
[sdp @ 0x0a0000000000] RTP: missed 3 packets
ALSA lib pcm.c:5103:(snd_pcm_recover) underrun occurred
[sdp @ 0x0a0000000000] max delay reached. need to consume packet
[sdp @ 0x0a0000000000] RTP: missed 1 packets
[sdp @ 0x0a0000000000] max delay reached. need to consume packet
[sdp @ 0x0a0000000000] RTP: missed 2 packets
[sdp @ 0x0a0000000000] max delay reached. need to consume packet
[sdp @ 0x0a0000000000] RTP: missed 3 packets
[sdp @ 0x0a0000000000] max delay reached. need to consume packet
[sdp @ 0x0a0000000000] RTP: missed 3 packets
[sdp @ 0x0a0000000000] max delay reached. need to consume packet
[sdp @ 0x0a0000000000] RTP: missed 1 packets
4477|sipvoiplink.cpp :4454 ] [INVITE:0x1a1111111111] RX SIP method 6 (INFO)
4477|sipvoiplink.cpp :3244 ] handling picture fast update request
4477|video_sender.cpp :65 ] Key frame requested
4477|sipvoiplink.cpp :4454 ] [INVITE:0x1a1111111111] RX SIP method 6 (INFO)
4477|sipvoiplink.cpp :3244 ] handling picture fast update request
4477|video_sender.cpp :65 ] Key frame requested
4477|sipvoiplink.cpp :4454 ] [INVITE:0x1a1111111111] RX SIP method 6 (INFO)
4477|sipvoiplink.cpp :3244 ] handling picture fast update request
4477|video_sender.cpp :65 ] Key frame requested
4477|sipcall.cpp :177 ] [call:2222222222222222222] Processing reINVITE
(state=CONFIRMED)
4477|sdp.cpp :244 ] SDP: Local SDP Session:
v=0
o=hst 1212121212 0 IN IP4 192.168.255.255
s=Ring Daemon
c=IN IP4 192.168.255.255
t=0 0
m=audio 54498 RTP/SAVP 104 9 112 111 110 8 0 101
a=rtpmap:104 opus/48000/2
a=rtpmap:9 G722/8000
a=rtpmap:112 speex/32000
a=rtpmap:111 speex/16000
a=rtpmap:110 speex/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=rtcp:54494 IN IP4 192.168.255.255
a=sendrecv
m=video 27700 RTP/SAVP 94 97 98 99
a=rtpmap:94 H264/90000
a=fmtp:94 profile-level-id=231367
a=rtpmap:97 VP8/90000
a=rtpmap:98 MP4V-ES/90000
a=rtpmap:99 H263-1778/90000
a=sendrecv
4477|sipcall.cpp :0080 ] [call:2222222222222222222] create media ICE
transport
[sdp @ 0x0a0000000000] max delay reached. need to consume packet
[sdp @ 0x0a0000000000] RTP: missed 1 packets
4477|ice_transport.cpp :369 ] [ice] added turn server '34.250.33.123', port
3478
ALSA lib pcm.c:5103:(snd_pcm_recover) underrun occurred
[sdp @ 0x0a0000000000] max delay reached. need to consume packet
[sdp @ 0x0a0000000000] RTP: missed 1 packets
[sdp @ 0x0a0000000000] max delay reached. need to consume packet
[sdp @ 0x0a0000000000] RTP: missed 2 packets
4759|sip_utils.cpp :506 ] Registered thread 0x4b4444ec4444 (0x5BE)
4759|ice_transport.cpp :206 ] [ice:0x33494cd7a7b2] initialization success
4759|ice_transport.cpp :240 ] ICE as master
realloc error: abort: Resource temporarily unavailable
realloc error: abort: Resource temporarily unavailable
realloc error: abort: Resource temporarily unavailable
realloc error: abort: Resource temporarily unavailable
realloc error: abort: Resource temporarily unavailable
realloc error: abort: Resource temporarily unavailable
realloc error: abort: Resource temporarily unavailable
realloc error: abort: Resource temporarily unavailable
4759|ice_transport.cpp :244 ] [ice:0x33494cd7a7b2] (local) ufrag=24457b1c,
pwd=36ade25b
realloc error: abort: Success
4477|ice_transport.cpp :344 ] [ice:0x33494cd7a7b2] succeed to add candidate
for comp_id=1 : 192.168.255.255 : 34.345.222.333
realloc error: abort: Success
4477|ice_transport.cpp :344 ] [ice:0x33494cd7a7b2] succeed to add candidate
for comp_id=2 : 192.168.255.255 : 34.345.222.333
realloc error: abort: Success
4477|ice_transport.cpp :344 ] [ice:0x33494cd7a7b2] succeed to add candidate
for comp_id=3 : 192.168.255.255 : 34.345.222.333
realloc error: abort: Success
4477|ice_transport.cpp :344 ] [ice:0x33494cd7a7b2] succeed to add candidate
for comp_id=4 : 192.168.255.255 : 34.345.222.333
4477|sipcall.cpp :541 ] [call:2222222222222222222] fill SDP with ICE
transport 0x55656ae34490
4477|sipvoiplink.cpp :563 ] Sending video keyframe request via SIP INFO
Dropping packet with high delay: 27.9491
Dropping packet with high delay: 26.9163
Dropping packet with high delay: 25.8495
4477|sipvoiplink.cpp :4454 ] [INVITE:0x1a1111111111] RX SIP method 6 (INFO)
4477|sipvoiplink.cpp :3244 ] handling picture fast update request
4477|video_sender.cpp :65 ] Key frame requested
4477|sipvoiplink.cpp :716 ] [call:2222222222222222222]
INVITE@0x1a1111111111 state changed to 6 (DISCONNCTD): cause=200,
tsx@0x33135ae1f217 status 200 (OK)
4477|manager.cpp :3156 ] [call:2222222222222222222] Peer hungup
4477|sipcall.cpp :945 ] [call:2222222222222222222] stopping all medias
4677|media_decoder.cpp :315 ] Couldn't read frame: Operation not permitted
4677|audio_rtp_session.cpp:503 ] fatal error, read failed
4676|media_encoder.cpp :534 ] av_write_frame failed: Interrupted system call
[libopus @ 0x2b273f332a33] 1 frames left in the queue on closing
4687|sinkclient.cpp :355 ] Stop sink , mixer=0
ALSA lib pcm.c:5103:(snd_pcm_recover) underrun occurred
4678|sinkclient.cpp :355 ] Stop sink , mixer=0
4678|video_input.cpp :174 ] VideoInput closed
4477|call.cpp :192 ] [call:2222222222222222222] state change 1/1,
cnx 4/0, code 103
4477|call.cpp :240 ] [call:2222222222222222222] emit client call
state change HUNGUP, code 103
4477|manager.cpp :1495 ] [call:2222222222222222222] Remove local audio
4477|sipcall.cpp :702 ] [call:2222222222222222222] removeCall()
4477|call_factory.cpp :37 ] Removing call 2222222222222222222
4477|call_factory.cpp :49 ] Remaining 0 SIP call(s)
4477|call.cpp :192 ] [call:2222222222222222222] state change 1/5,
cnx 0/0, code 0
4477|call.cpp :240 ] [call:2222222222222222222] emit client call
state change OVER, code 0
4477|siptransport.cpp :94 ] ~SipTransport@0x44838ad2de10 {tr=0x44684ac211e2
{rc=16}}
4477|sips_transport_ice.cpp:205 ] SipsIceTransport@0x55656bf41550
{tr=0x44684ac211e2 {rc=16}}: shutdown
4477|siptransport.cpp :211 ] pjsip transport@0x44684ac211e2 DTLS to
55.122.211.065 -> SHUTDOWN
4477|manager.cpp :2333 ] Call is NULL
4477|manager.cpp :2333 ] Call is NULL
4669|tls_session.cpp :1042 ] [TLS] eof
4669|tls_session.cpp :1159 ] [TLS] shutdown
4477|sips_transport_ice.cpp:304 ] [SIPS] got disconnected event!
4477|sips_transport_ice.cpp:365 ] [SIPS] process disconnect event
4477|siptransport.cpp :211 ] pjsip transport@0x44684ac211e2 DTLS to
55.122.211.065 -> DISCONNECTED
4477|siptransport.cpp :211 ] pjsip transport@0x44684ac211e2 DTLS to
55.122.211.065 -> DESTROY
4477|siptransport.cpp :244 ] unmap pjsip transport@0x44684ac211e2
{SipTransport@(nil)}
4477|sips_transport_ice.cpp:212 ] SipsIceTransport@0x55656bf41550: destroying
4477|sips_transport_ice.cpp:261 ] ~SipIceTransport@0x55656bf41550
{tr=0x44684ac211e2}
4477|sips_transport_ice.cpp:283 ] ~SipIceTransport@0x55656bf41550
{tr=0x44684ac211e2} bye