GstWebRTCDTLSTransport: GStreamer Bad Plugins 1.0 Library Reference Manual

## GstWebRTCDTLSTransport GstWebRTCDTLSTransport — RTCDtlsTransport object |

## Functions

GstWebRTCDTLSTransport * | gst_webrtc_dtls_transport_new ()

## Properties

char * | certificate | Read / Write
gboolean | client | Read / Write
char * | remote-certificate | Read
gboolean | rtcp | Read / Write / Construct Only
guint | session-id | Read / Write / Construct Only
GstWebRTCDTLSTransportState | state | Read
GstWebRTCICETransport * | transport | Read

## Types and Values

enum | GstWebRTCDTLSTransportState

## Object Hierarchy

        GEnum
        ╰── GstWebRTCDTLSTransportState
        GObject
        ╰── GInitiallyUnowned
            ╰── GstObject
                ╰── GstWebRTCDTLSTransport

## Includes

    #include <gst/codecparsers/gstmpeg4parser.h>

## Description

https://www.w3.org/TR/webrtc/#rtcdtlstransport

## Functions

### gst_webrtc_dtls_transport_new ()

    GstWebRTCDTLSTransport *
    gst_webrtc_dtls_transport_new (guint session_id,
                                   gboolean rtcp);

## Types and Values

### enum GstWebRTCDTLSTransportState

#### Members

GST_WEBRTC_DTLS_TRANSPORT_STATE_NEW |  |
GST_WEBRTC_DTLS_TRANSPORT_STATE_CLOSED |  |
GST_WEBRTC_DTLS_TRANSPORT_STATE_FAILED |  |
GST_WEBRTC_DTLS_TRANSPORT_STATE_CONNECTING |  |
GST_WEBRTC_DTLS_TRANSPORT_STATE_CONNECTED |  |

## Property Details

### The `“certificate”` property

      “certificate”              char *

DTLS certificate.

Owner: GstWebRTCDTLSTransport

Flags: Read / Write

Default value: NULL

### The `“client”` property

      “client”                   gboolean

Are we the client in the DTLS handshake?.

Owner: GstWebRTCDTLSTransport

Flags: Read / Write

Default value: FALSE

### The `“remote-certificate”` property

      “remote-certificate”       char *

Remote DTLS certificate.

Owner: GstWebRTCDTLSTransport

Flags: Read

Default value: NULL

### The `“rtcp”` property

      “rtcp”                     gboolean

The transport is being used solely for RTCP.

Owner: GstWebRTCDTLSTransport

Flags: Read / Write / Construct Only

Default value: FALSE

### The `“session-id”` property

      “session-id”               guint

Unique session ID.

Owner: GstWebRTCDTLSTransport

Flags: Read / Write / Construct Only

Default value: 0

### The `“state”` property

      “state”                    GstWebRTCDTLSTransportState

State of the DTLS transport.

Owner: GstWebRTCDTLSTransport

Flags: Read

Default value: GST_WEBRTC_DTLS_TRANSPORT_STATE_NEW

### The `“transport”` property

      “transport”                GstWebRTCICETransport *

ICE transport used by this dtls transport.

Owner: GstWebRTCDTLSTransport

Flags: Read

## See Also

GstWebRTCRTPSender, GstWebRTCRTPReceiver, GstWebRTCICETransport