[asterisk-bugs] [JIRA] (ASTERISK-26028) WebRTC one sec delay hearing sound

scgm11 (JIRA) noreply at issues.asterisk.org
Tue May 17 06:37:56 CDT 2016


scgm11 created ASTERISK-26028:
---------------------------------

             Summary: WebRTC one sec delay hearing sound
                 Key: ASTERISK-26028
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26028
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
    Affects Versions: 13.9.0
            Reporter: scgm11


Using any webrtc sip stack, you can see a delay of one second hearing the sound, the thing here seems to be that asterisk starts sending rtp before the DTLS handshake has been done.

(using chan_sip)

in a simple rtp debug from asterisk side I can see the problem.

 == WebSocket connection from '167.56.87.167:50508' for protocol 'sip' accepted using version '13'
    -- Registered SIP '1001' at 167.56.87.167:50508
  == Using SIP RTP CoS mark 5
  == Using UDPTL CoS mark 5
    -- Executing [1235 at agentes:1] Answer("SIP/1001-00000048", "0") in new stack
    -- Executing [1235 at agentes:2] Playback("SIP/1001-00000048", "queue-youarenext,") in new stack
Sent RTP packet to      167.56.87.167:58897 (via ICE) (type 08, seq 060959, ts 000160, len 000160)
    -- <SIP/1001-00000048> Playing 'queue-youarenext.slin' (language 'es')
Sent RTP packet to      167.56.87.167:58897 (via ICE) (type 08, seq 060960, ts 000320, len 000160)
Sent RTP packet to      167.56.87.167:58897 (via ICE) (type 08, seq 060961, ts 000480, len 000160)
Sent RTP packet to      167.56.87.167:58897 (via ICE) (type 08, seq 060962, ts 000640, len 000160)
Sent RTP packet to      167.56.87.167:58897 (via ICE) (type 08, seq 060963, ts 000800, len 000160)
Sent RTP packet to      167.56.87.167:58897 (via ICE) (type 08, seq 060964, ts 000960, len 000160)
Sent RTP packet to      167.56.87.167:58897 (via ICE) (type 08, seq 060965, ts 001120, len 000160)
Sent RTP packet to      167.56.87.167:58897 (via ICE) (type 08, seq 060966, ts 001280, len 000160)
Sent RTP packet to      167.56.87.167:58897 (via ICE) (type 08, seq 060967, ts 001440, len 000160)
Sent RTP packet to      167.56.87.167:58897 (via ICE) (type 08, seq 060968, ts 001600, len 000160)
Sent RTP packet to      167.56.87.167:58897 (via ICE) (type 08, seq 060969, ts 001760, len 000160)
Sent RTP packet to      167.56.87.167:58897 (via ICE) (type 08, seq 060970, ts 001920, len 000160)
Sent RTP packet to      167.56.87.167:58897 (via ICE) (type 08, seq 060971, ts 002080, len 000160)
Sent RTP packet to      167.56.87.167:58897 (via ICE) (type 08, seq 060972, ts 002240, len 000160)
Sent RTP packet to      167.56.87.167:58897 (via ICE) (type 08, seq 060973, ts 002400, len 000160)
Sent RTP packet to      167.56.87.167:58897 (via ICE) (type 08, seq 060974, ts 002560, len 000160)
Sent RTP packet to      167.56.87.167:58897 (via ICE) (type 08, seq 060975, ts 002720, len 000160)
Sent RTP packet to      167.56.87.167:58897 (via ICE) (type 08, seq 060976, ts 002880, len 000160)
Sent RTP packet to      167.56.87.167:58897 (via ICE) (type 08, seq 060977, ts 003040, len 000160)
Sent RTP packet to      167.56.87.167:58897 (via ICE) (type 08, seq 060978, ts 003200, len 000160)
Sent RTP packet to      167.56.87.167:58897 (via ICE) (type 08, seq 060979, ts 003360, len 000160)
Sent RTP packet to      167.56.87.167:58897 (via ICE) (type 08, seq 060980, ts 003520, len 000170)
       > 0x7f6c2012f190 -- Probation passed - setting RTP source address to 167.56.87.167:58897
Got  RTP packet from    167.56.87.167:58897 (type 08, seq 019928, ts 2210584420, len 000160)
Sent RTP packet to      167.56.87.167:58897 (via ICE) (type 08, seq 060981, ts 003680, len 000170)
Got  RTP packet from    167.56.87.167:58897 (type 08, seq 019929, ts 2210584580, len 000160)
Sent RTP packet to      167.56.87.167:58897 (via ICE) (type 08, seq 060982, ts 003840, len 000170)
Got  RTP packet from    167.56.87.167:58897 (type 08, seq 019930, ts 2210584740, len 000160)
Sent RTP packet to      167.56.87.167:58897 (via ICE) (type 08, seq 060983, ts 004000, len 000170)
Got  RTP packet from    167.56.87.167:58897 (type 08, seq 019931, ts 2210584900, len 000160)
Sent RTP packet to      167.56.87.167:58897 (via ICE) (type 08, seq 060984, ts 004160, len 000170)
Got  RTP packet from    167.56.87.167:58897 (type 08, seq 019932, ts 2210585060, len 000160)
Sent RTP packet to      167.56.87.167:58897 (via ICE) (type 08, seq 060985, ts 004320, len 000170)
Sent RTP packet to      167.56.87.167:58897 (via ICE) (type 08, seq 060986, ts 004480, len 000170)
Got  RTP packet from    167.56.87.167:58897 (type 08, seq 019933, ts 2210585220, len 000160)
Got  RTP packet from    167.56.87.167:58897 (type 08, seq 019934, ts 2210585380, len 000160)
Sent RTP packet to      167.56.87.167:58897 (via ICE) (type 08, seq 060987, ts 004640, len 000170)
Got  RTP packet from    167.56.87.167:58897 (type 08, seq 019935, ts 2210585540, len 000160)
Sent RTP packet to      167.56.87.167:58897 (via ICE) (type 08, seq 060988, ts 004800, len 000170)
Sent RTP packet to      167.56.87.167:58897 (via ICE) (type 08, seq 060989, ts 004960, len 000170)
Got  RTP packet from    167.56.87.167:58897 (type 08, seq 019936, ts 2210585700, len 000160)
Got  RTP packet from    167.56.87.167:58897 (type 08, seq 019937, ts 2210585860, len 000160)
Sent RTP packet to      167.56.87.167:58897 (via ICE) (type 08, seq 060990, ts 005120, len 000170)
Got  RTP packet from    167.56.87.167:58897 (type 08, seq 019938, ts 2210586020, len 000160)
Sent RTP packet to      167.56.87.167:58897 (via ICE) (type 08, seq 060991, ts 005280, len 000170)
Got  RTP packet from    167.56.87.167:58897 (type 08, seq 019939, ts 2210586180, len 000160)
Sent RTP packet to      167.56.87.167:58897 (via ICE) (type 08, seq 060992, ts 005440, len 000170)
Sent RTP packet to      167.56.87.167:58897 (via ICE) (type 08, seq 060993, ts 005600, len 000170)
Got  RTP packet from    167.56.87.167:58897 (type 08, seq 019940, ts 2210586340, len 000160)
Got  RTP packet from    167.56.87.167:58897 (type 08, seq 019941, ts 2210586500, len 000160)
Sent RTP packet to      167.56.87.167:58897 (via ICE) (type 08, seq 060994, ts 005760, len 000170)
Sent RTP packet to      167.56.87.167:58897 (via ICE) (type 08, seq 060995, ts 005920, len 000170)
Got  RTP packet from    167.56.87.167:58897 (type 08, seq 019942, ts 2210586660, len 000160)
Got  RTP packet from    167.56.87.167:58897


Its clear that after the Probation passed is where I can hear the sound and not before this. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list