W3C home > Mailing lists > Public > public-webrtc@w3.org > August 2015

Re: What event do we fire when the DTLS handshake fails, or when DTLS-SRTP key extraction fails?

From: Bernard Aboba <Bernard.Aboba@microsoft.com>
Date: Sat, 8 Aug 2015 00:54:59 +0000
To: Peter Thatcher <pthatcher@google.com>
CC: Martin Thomson <martin.thomson@gmail.com>, Eric Rescorla <ekr@rtfm.com>, "public-webrtc@w3.org" <public-webrtc@w3.org>
Message-ID: <5C670BB0-4EBE-4C0A-AA47-EC1F1B1E4C24@microsoft.com>
On Aug 7, 2015, at 3:25 PM, Peter Thatcher <pthatcher@google.com<mailto:pthatcher@google.com>> wrote:

That goes back to my original question:  if the connection fails because of DTLS or DTLS-SRTP, how to we signal that to the web application?

DtlsTransport.state transitioning to "failed" tells you there has been a negotiation failure. Next question is why? Can the DtlsTransport object have an onerror handler that would provide more details in error.message (like DTLS alert info)?
Received on Saturday, 8 August 2015 00:55:30 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:18:08 UTC