1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3<head> 4<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 5<title>GstWebRTCDTLSTransport: GStreamer Bad Plugins 1.0 Library Reference Manual</title> 6<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> 7<link rel="home" href="index.html" title="GStreamer Bad Plugins 1.0 Library Reference Manual"> 8<link rel="up" href="webrtc.html" title="WebRTC Library"> 9<link rel="prev" href="webrtc.html" title="WebRTC Library"> 10<link rel="next" href="GstWebRTCICETransport.html" title="GstWebRTCICETransport"> 11<meta name="generator" content="GTK-Doc V1.28 (XML mode)"> 12<link rel="stylesheet" href="style.css" type="text/css"> 13</head> 14<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> 15<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle"> 16<td width="100%" align="left" class="shortcuts"> 17<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span> 18 <a href="#GstWebRTCDTLSTransport.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span> 19 <a href="#GstWebRTCDTLSTransport.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties"> <span class="dim">|</span> 20 <a href="#GstWebRTCDTLSTransport.properties" class="shortcut">Properties</a></span> 21</td> 22<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td> 23<td><a accesskey="u" href="webrtc.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td> 24<td><a accesskey="p" href="webrtc.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td> 25<td><a accesskey="n" href="GstWebRTCICETransport.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td> 26</tr></table> 27<div class="refentry"> 28<a name="GstWebRTCDTLSTransport"></a><div class="titlepage"></div> 29<div class="refnamediv"><table width="100%"><tr> 30<td valign="top"> 31<h2><span class="refentrytitle"><a name="GstWebRTCDTLSTransport.top_of_page"></a>GstWebRTCDTLSTransport</span></h2> 32<p>GstWebRTCDTLSTransport — RTCDtlsTransport object</p> 33</td> 34<td class="gallery_image" valign="top" align="right"></td> 35</tr></table></div> 36<div class="refsect1"> 37<a name="GstWebRTCDTLSTransport.functions"></a><h2>Functions</h2> 38<div class="informaltable"><table class="informaltable" width="100%" border="0"> 39<colgroup> 40<col width="150px" class="functions_return"> 41<col class="functions_name"> 42</colgroup> 43<tbody><tr> 44<td class="function_type"> 45<a class="link" href="GstWebRTCDTLSTransport.html" title="GstWebRTCDTLSTransport"><span class="returnvalue">GstWebRTCDTLSTransport</span></a> * 46</td> 47<td class="function_name"> 48<a class="link" href="GstWebRTCDTLSTransport.html#gst-webrtc-dtls-transport-new" title="gst_webrtc_dtls_transport_new ()">gst_webrtc_dtls_transport_new</a> <span class="c_punctuation">()</span> 49</td> 50</tr></tbody> 51</table></div> 52</div> 53<div class="refsect1"> 54<a name="GstWebRTCDTLSTransport.properties"></a><h2>Properties</h2> 55<div class="informaltable"><table class="informaltable" border="0"> 56<colgroup> 57<col width="150px" class="properties_type"> 58<col width="300px" class="properties_name"> 59<col width="200px" class="properties_flags"> 60</colgroup> 61<tbody> 62<tr> 63<td class="property_type"> 64<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td> 65<td class="property_name"><a class="link" href="GstWebRTCDTLSTransport.html#GstWebRTCDTLSTransport--certificate" title="The “certificate” property">certificate</a></td> 66<td class="property_flags">Read / Write</td> 67</tr> 68<tr> 69<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td> 70<td class="property_name"><a class="link" href="GstWebRTCDTLSTransport.html#GstWebRTCDTLSTransport--client" title="The “client” property">client</a></td> 71<td class="property_flags">Read / Write</td> 72</tr> 73<tr> 74<td class="property_type"> 75<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td> 76<td class="property_name"><a class="link" href="GstWebRTCDTLSTransport.html#GstWebRTCDTLSTransport--remote-certificate" title="The “remote-certificate” property">remote-certificate</a></td> 77<td class="property_flags">Read</td> 78</tr> 79<tr> 80<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td> 81<td class="property_name"><a class="link" href="GstWebRTCDTLSTransport.html#GstWebRTCDTLSTransport--rtcp" title="The “rtcp” property">rtcp</a></td> 82<td class="property_flags">Read / Write / Construct Only</td> 83</tr> 84<tr> 85<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></td> 86<td class="property_name"><a class="link" href="GstWebRTCDTLSTransport.html#GstWebRTCDTLSTransport--session-id" title="The “session-id” property">session-id</a></td> 87<td class="property_flags">Read / Write / Construct Only</td> 88</tr> 89<tr> 90<td class="property_type"><a class="link" href="GstWebRTCDTLSTransport.html#GstWebRTCDTLSTransportState" title="enum GstWebRTCDTLSTransportState"><span class="type">GstWebRTCDTLSTransportState</span></a></td> 91<td class="property_name"><a class="link" href="GstWebRTCDTLSTransport.html#GstWebRTCDTLSTransport--state" title="The “state” property">state</a></td> 92<td class="property_flags">Read</td> 93</tr> 94<tr> 95<td class="property_type"> 96<a class="link" href="GstWebRTCICETransport.html" title="GstWebRTCICETransport"><span class="type">GstWebRTCICETransport</span></a> *</td> 97<td class="property_name"><a class="link" href="GstWebRTCDTLSTransport.html#GstWebRTCDTLSTransport--transport" title="The “transport” property">transport</a></td> 98<td class="property_flags">Read</td> 99</tr> 100</tbody> 101</table></div> 102</div> 103<div class="refsect1"> 104<a name="GstWebRTCDTLSTransport.other"></a><h2>Types and Values</h2> 105<div class="informaltable"><table class="informaltable" width="100%" border="0"> 106<colgroup> 107<col width="150px" class="name"> 108<col class="description"> 109</colgroup> 110<tbody><tr> 111<td class="datatype_keyword">enum</td> 112<td class="function_name"><a class="link" href="GstWebRTCDTLSTransport.html#GstWebRTCDTLSTransportState" title="enum GstWebRTCDTLSTransportState">GstWebRTCDTLSTransportState</a></td> 113</tr></tbody> 114</table></div> 115</div> 116<div class="refsect1"> 117<a name="GstWebRTCDTLSTransport.object-hierarchy"></a><h2>Object Hierarchy</h2> 118<pre class="screen"> <a href="/usr/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html">GEnum</a> 119 <span class="lineart">╰──</span> GstWebRTCDTLSTransportState 120 <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a> 121 <span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a> 122 <span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstObject.html#GstObject-struct">GstObject</a> 123 <span class="lineart">╰──</span> GstWebRTCDTLSTransport 124</pre> 125</div> 126<div class="refsect1"> 127<a name="GstWebRTCDTLSTransport.includes"></a><h2>Includes</h2> 128<pre class="synopsis">#include <gst/codecparsers/gstmpeg4parser.h> 129</pre> 130</div> 131<div class="refsect1"> 132<a name="GstWebRTCDTLSTransport.description"></a><h2>Description</h2> 133<a class="ulink" href="https://www.w3.org/TR/webrtc/#rtcdtlstransport" target="_top">https://www.w3.org/TR/webrtc/#rtcdtlstransport</a> 134</div> 135<div class="refsect1"> 136<a name="GstWebRTCDTLSTransport.functions_details"></a><h2>Functions</h2> 137<div class="refsect2"> 138<a name="gst-webrtc-dtls-transport-new"></a><h3>gst_webrtc_dtls_transport_new ()</h3> 139<pre class="programlisting"><a class="link" href="GstWebRTCDTLSTransport.html" title="GstWebRTCDTLSTransport"><span class="returnvalue">GstWebRTCDTLSTransport</span></a> * 140gst_webrtc_dtls_transport_new (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> session_id</code></em>, 141 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> rtcp</code></em>);</pre> 142</div> 143</div> 144<div class="refsect1"> 145<a name="GstWebRTCDTLSTransport.other_details"></a><h2>Types and Values</h2> 146<div class="refsect2"> 147<a name="GstWebRTCDTLSTransportState"></a><h3>enum GstWebRTCDTLSTransportState</h3> 148<div class="refsect3"> 149<a name="GstWebRTCDTLSTransportState.members"></a><h4>Members</h4> 150<div class="informaltable"><table class="informaltable" width="100%" border="0"> 151<colgroup> 152<col width="300px" class="enum_members_name"> 153<col class="enum_members_description"> 154<col width="200px" class="enum_members_annotations"> 155</colgroup> 156<tbody> 157<tr> 158<td class="enum_member_name"><p><a name="GST-WEBRTC-DTLS-TRANSPORT-STATE-NEW:CAPS"></a>GST_WEBRTC_DTLS_TRANSPORT_STATE_NEW</p></td> 159<td> </td> 160<td> </td> 161</tr> 162<tr> 163<td class="enum_member_name"><p><a name="GST-WEBRTC-DTLS-TRANSPORT-STATE-CLOSED:CAPS"></a>GST_WEBRTC_DTLS_TRANSPORT_STATE_CLOSED</p></td> 164<td> </td> 165<td> </td> 166</tr> 167<tr> 168<td class="enum_member_name"><p><a name="GST-WEBRTC-DTLS-TRANSPORT-STATE-FAILED:CAPS"></a>GST_WEBRTC_DTLS_TRANSPORT_STATE_FAILED</p></td> 169<td> </td> 170<td> </td> 171</tr> 172<tr> 173<td class="enum_member_name"><p><a name="GST-WEBRTC-DTLS-TRANSPORT-STATE-CONNECTING:CAPS"></a>GST_WEBRTC_DTLS_TRANSPORT_STATE_CONNECTING</p></td> 174<td> </td> 175<td> </td> 176</tr> 177<tr> 178<td class="enum_member_name"><p><a name="GST-WEBRTC-DTLS-TRANSPORT-STATE-CONNECTED:CAPS"></a>GST_WEBRTC_DTLS_TRANSPORT_STATE_CONNECTED</p></td> 179<td> </td> 180<td> </td> 181</tr> 182</tbody> 183</table></div> 184</div> 185</div> 186</div> 187<div class="refsect1"> 188<a name="GstWebRTCDTLSTransport.property-details"></a><h2>Property Details</h2> 189<div class="refsect2"> 190<a name="GstWebRTCDTLSTransport--certificate"></a><h3>The <code class="literal">“certificate”</code> property</h3> 191<pre class="programlisting"> “certificate” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre> 192<p>DTLS certificate.</p> 193<p>Flags: Read / Write</p> 194<p>Default value: NULL</p> 195</div> 196<hr> 197<div class="refsect2"> 198<a name="GstWebRTCDTLSTransport--client"></a><h3>The <code class="literal">“client”</code> property</h3> 199<pre class="programlisting"> “client” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre> 200<p>Are we the client in the DTLS handshake?.</p> 201<p>Flags: Read / Write</p> 202<p>Default value: FALSE</p> 203</div> 204<hr> 205<div class="refsect2"> 206<a name="GstWebRTCDTLSTransport--remote-certificate"></a><h3>The <code class="literal">“remote-certificate”</code> property</h3> 207<pre class="programlisting"> “remote-certificate” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre> 208<p>Remote DTLS certificate.</p> 209<p>Flags: Read</p> 210<p>Default value: NULL</p> 211</div> 212<hr> 213<div class="refsect2"> 214<a name="GstWebRTCDTLSTransport--rtcp"></a><h3>The <code class="literal">“rtcp”</code> property</h3> 215<pre class="programlisting"> “rtcp” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre> 216<p>The transport is being used solely for RTCP.</p> 217<p>Flags: Read / Write / Construct Only</p> 218<p>Default value: FALSE</p> 219</div> 220<hr> 221<div class="refsect2"> 222<a name="GstWebRTCDTLSTransport--session-id"></a><h3>The <code class="literal">“session-id”</code> property</h3> 223<pre class="programlisting"> “session-id” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></pre> 224<p>Unique session ID.</p> 225<p>Flags: Read / Write / Construct Only</p> 226<p>Default value: 0</p> 227</div> 228<hr> 229<div class="refsect2"> 230<a name="GstWebRTCDTLSTransport--state"></a><h3>The <code class="literal">“state”</code> property</h3> 231<pre class="programlisting"> “state” <a class="link" href="GstWebRTCDTLSTransport.html#GstWebRTCDTLSTransportState" title="enum GstWebRTCDTLSTransportState"><span class="type">GstWebRTCDTLSTransportState</span></a></pre> 232<p>State of the DTLS transport.</p> 233<p>Flags: Read</p> 234<p>Default value: GST_WEBRTC_DTLS_TRANSPORT_STATE_NEW</p> 235</div> 236<hr> 237<div class="refsect2"> 238<a name="GstWebRTCDTLSTransport--transport"></a><h3>The <code class="literal">“transport”</code> property</h3> 239<pre class="programlisting"> “transport” <a class="link" href="GstWebRTCICETransport.html" title="GstWebRTCICETransport"><span class="type">GstWebRTCICETransport</span></a> *</pre> 240<p>ICE transport used by this dtls transport.</p> 241<p>Flags: Read</p> 242</div> 243</div> 244<div class="refsect1"> 245<a name="GstWebRTCDTLSTransport.see-also"></a><h2>See Also</h2> 246<p><a class="link" href="GstWebRTCRTPSender.html" title="GstWebRTCRTPSender"><span class="type">GstWebRTCRTPSender</span></a>, <a class="link" href="GstWebRTCRTPReceiver.html" title="GstWebRTCRTPReceiver"><span class="type">GstWebRTCRTPReceiver</span></a>, <a class="link" href="GstWebRTCICETransport.html" title="GstWebRTCICETransport"><span class="type">GstWebRTCICETransport</span></a></p> 247</div> 248</div> 249<div class="footer"> 250<hr>Generated by GTK-Doc V1.28</div> 251</body> 252</html>