diff options
Diffstat (limited to 'chromium/third_party/blink/renderer/modules/peerconnection/rtc_dtls_transport.idl')
-rw-r--r-- | chromium/third_party/blink/renderer/modules/peerconnection/rtc_dtls_transport.idl | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/chromium/third_party/blink/renderer/modules/peerconnection/rtc_dtls_transport.idl b/chromium/third_party/blink/renderer/modules/peerconnection/rtc_dtls_transport.idl new file mode 100644 index 00000000000..c514ca92801 --- /dev/null +++ b/chromium/third_party/blink/renderer/modules/peerconnection/rtc_dtls_transport.idl @@ -0,0 +1,24 @@ +// Copyright 2018 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +// http://w3c.github.io/webrtc-pc/#rtcdtlstransport-interface + +enum RTCDtlsTransportState { + "new", + "connecting", + "connected", + "closed", + "failed" +}; + +[ + Exposed=Window, + RuntimeEnabled=RTCDtlsTransport +] interface RTCDtlsTransport : EventTarget { + readonly attribute RTCIceTransport iceTransport; + readonly attribute RTCDtlsTransportState state; + sequence<ArrayBuffer> getRemoteCertificates(); + attribute EventHandler onstatechange; + attribute EventHandler onerror; +}; |