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

Re: PR for adding RtpSender.transport, RtpReceiver.transport, RTCDtlsTransport, RTCIceTransport, etc

From: Bernard Aboba <Bernard.Aboba@microsoft.com>
Date: Fri, 24 Jul 2015 12:23:12 +0000
To: Peter Thatcher <pthatcher@google.com>
CC: "Makaraju, Maridi Raju (Raju)" <Raju.Makaraju@alcatel-lucent.com>, "Eric Rescorla" <ekr@rtfm.com>, Harald Alvestrand <harald@alvestrand.no>, "public-webrtc@w3.org" <public-webrtc@w3.org>
Message-ID: <1302CF8B-E9F0-41E4-8E5F-B6DCEA7DD0C9@microsoft.com>
On 06/23/2015 10:38 PM, Peter Thatcher wrote:
Does DtlsTransport really have a "disconnected"/retrying state?  I guess we could make it "disconnected" any time the underlying IceTransport is disconnected, but that adds complexity.  What value do we gain to make it worthwhile?
[BA] I think there is no "disconnected" state in DtlsTransport.  Here is the proposed definition of the various states in ORTC API:

4.7 enum RTCDtlsTransportState

RTCDtlsTransportState indicates the state of the DTLS transport.

enum RTCDtlsTransportState {

Enumeration description

The RTCDtlsTransport<http://internaut.com:8080/~baboba/ortc/ortc-7-03-2015.html#idl-def-RTCDtlsTransport> object has been created and has not started negotiating yet.


DTLS is in the process of negotiating a secure connection. Once a secure connection is negotiated and DTLS-SRTP<http://internaut.com:8080/~baboba/ortc/ortc-7-03-2015.html#dfn-dtls-srtp> has derived keys (but prior to verification of the remote fingerprint, enabled by calling start()), incoming media can flow through.


DTLS has completed negotiation of a secure connection (including DTLS-SRTP<http://internaut.com:8080/~baboba/ortc/ortc-7-03-2015.html#dfn-dtls-srtp> and remote fingerprint verification). Outgoing media can now flow through.


The DTLS connection has been closed intentionally via a call to stop(). Calling transport.stop() will also result in a transition to the "closed" state.


The DTLS connection has been closed as the result of an error (such as a DTLS alert or a failure to validate the remote fingerprint).
Received on Friday, 24 July 2015 12:23:44 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 15:19:45 UTC