Class RTCDtlsTransport
- Namespace
- CSharpToJavaScript.APIs.JS
- Assembly
- CSharpToJavaScript.dll
The RTCDtlsTransport interface provides access to information about the Datagram Transport Layer Security (DTLS) transport over which a RTCPeerConnection's {{Glossary("RTP")}} and {{Glossary("RTCP")}} packets are sent and received by its RTCRtpSender and RTCRtpReceiver objects.
[Value("RTCDtlsTransport")]
public class RTCDtlsTransport : EventTarget
- Inheritance
-
RTCDtlsTransport
- Inherited Members
Remarks
A RTCDtlsTransport object is also used to provide information about SCTP packets transmitted and received by a connection's data channels.
Features of the DTLS transport include the addition of security to the underlying transport; the RTCDtlsTransport interface can be used to obtain information about the underlying transport and the security added to it by the DTLS layer.
Constructors
RTCDtlsTransport()
public RTCDtlsTransport()
Properties
IceTransport
The iceTransport read-only property of the RTCDtlsTransport interface contains a reference to the underlying RTCIceTransport.
[Value("iceTransport")]
public RTCIceTransport IceTransport { get; }
Property Value
- RTCIceTransport
The underlying RTCIceTransport instance.
Remarks
Onerror
[Value("onerror")]
public EventHandlerNonNull Onerror { get; set; }
Property Value
Onstatechange
[Value("onstatechange")]
public EventHandlerNonNull Onstatechange { get; set; }
Property Value
State
The state read-only property of the
RTCDtlsTransport interface provides information which describes a
Datagram Transport Layer Security (DTLS) transport state.
[Value("state")]
public RTCDtlsTransportState State { get; }
Property Value
- RTCDtlsTransportState
A string. Its value is one of the following:
Remarks
Methods
GetRemoteCertificates()
[Value("getRemoteCertificates")]
public List<ArrayBuffer> GetRemoteCertificates()