cgy987512 / webrtc2sip

Automatically exported from code.google.com/p/webrtc2sip
0 stars 0 forks source link

DTLS-SRTP negotiation does not happen sometimes #128

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Register SIPML5 on Firefox 23 against our SIP proxy
2. Receive an inbound call
3. Call is signaled correctly but webrtc2sip does not receive DTLS data 
(according to logs)
4. Hangup
5. Next call works

What is the expected output? What do you see instead?

Every call should have the media stream set up correctly.

What version of the product are you using? On what operating system?

r95 on CentOS release 6.4 (Final), built according to manual.

Logs attached: 

bad - no dtls data, endless "audio producer not started" loop
good - same scenario, directly after the first try, everything works

Original issue reported on code.google.com by hoffmann...@gmail.com on 12 Sep 2013 at 2:35

Attachments:

GoogleCodeExporter commented 9 years ago
I think I found the reason for this:

On an incoming call, the sipml JS stack immediately starts the 
RTCPeerconnection. When the user waits a few seconds, the peerconnection seems 
to have "timed out" and no media is flowing on accept. 

It could be that this is specific to Firefox.

In contrast, if the user accepts the call almost immediately, it always works!

Original comment by hoffmann...@gmail.com on 6 Nov 2013 at 2:51

GoogleCodeExporter commented 9 years ago
Hi, have you solved this problem? I have the exact issue right now. Thank you!

Original comment by kzta...@gmail.com on 6 Jan 2015 at 7:28