What steps will reproduce the problem?
- Try the one2many Kurento tutorial with Chrome (43.0.2357.81 m)
- In one tab start "master" session, in other tab start "viewer session".
What is the expected result?Media traffic exchange must start always
What do you see instead?
Sometimes after SDP exchange media exchange is not started at all.
What version of the product are you using? On what operating system?
We use Chrome (43.0.2357.81 m), Windows 8 (64 bit), Kurento latest version (5.1.0)
Please provide any additional information below.
We analyzed network traffic with Wireshark and realized that DTLS handshake is not successful in come cases.
There are 2 interesting types of dtls messages: "Change Cipher Spec" and "Certificate Verify". Each of them has its own sequence number (SN).
We checked, Kurento Media Server generates SN correctly, i.e. "Change Cipher Spec" has SN greater than "Certificate Verify" message SN.
But on the client side (in browser), these 2 messages are received in reverse order. I mean, "Certificate Verify" is received after "Change Cipher Spec" message.
These causes troubles, because WebRTC uses openssl, but openssl expects "Finished" message right after "Change Cipher Spec" message.
These problem is described here: