W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > December 2018

[webrtc-pc] DTLSTransport: No description of when to fire the error event (#2044)

From: Harald Alvestrand via GitHub <sysbot+gh@w3.org>
Date: Thu, 20 Dec 2018 09:43:35 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issues.opened-392963870-1545299008-sysbot+gh@w3.org>
alvestrand has just created a new issue for https://github.com/w3c/webrtc-pc:

== DTLSTransport: No description of when to fire the error event ==
It seems that we have no description of when the error event in DTLSTransport is fired.
I believe it should be fired:
- when the fingerprint fails to verify the remote certificate
- when the DTLS connection is closed due to an error at the DTLS layer
I believe it should fire before the state change event, but could argue this either way; I think it's important for compatibility that we say whether it is fired before or after the state change event.

I believe it should NOT fire when there's an error in the ICE transport. All ICE transport errors are theoretically recoverable with an ICE restart, and might result in the DTLS transport being able to continue.

Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/2044 using your GitHub account
Received on Thursday, 20 December 2018 09:43:36 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 6 May 2023 21:19:45 UTC