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>GstRTSPExtension: GStreamer Base 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 Base Plugins 1.0 Library Reference Manual"> 8<link rel="up" href="gstreamer-rtsp.html" title="RTSP Library"> 9<link rel="prev" href="gst-plugins-base-libs-GstRtspdefs.html" title="GstRtspdefs"> 10<link rel="next" href="GstRTSPMessage.html" title="GstRTSPMessage"> 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="#GstRTSPExtension.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span> 19 <a href="#GstRTSPExtension.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_signals"> <span class="dim">|</span> 20 <a href="#GstRTSPExtension.signals" class="shortcut">Signals</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="gstreamer-rtsp.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td> 24<td><a accesskey="p" href="gst-plugins-base-libs-GstRtspdefs.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td> 25<td><a accesskey="n" href="GstRTSPMessage.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="GstRTSPExtension"></a><div class="titlepage"></div> 29<div class="refnamediv"><table width="100%"><tr> 30<td valign="top"> 31<h2><span class="refentrytitle"><a name="GstRTSPExtension.top_of_page"></a>GstRTSPExtension</span></h2> 32<p>GstRTSPExtension — Interface for extending RTSP protocols</p> 33</td> 34<td class="gallery_image" valign="top" align="right"></td> 35</tr></table></div> 36<div class="refsect1"> 37<a name="GstRTSPExtension.signals"></a><h2>Signals</h2> 38<div class="informaltable"><table class="informaltable" border="0"> 39<colgroup> 40<col width="150px" class="signals_return"> 41<col width="300px" class="signals_name"> 42<col width="200px" class="signals_flags"> 43</colgroup> 44<tbody><tr> 45<td class="signal_type"><a class="link" href="gst-plugins-base-libs-GstRtspdefs.html#GstRTSPResult" title="enum GstRTSPResult"><span class="returnvalue">GstRTSPResult</span></a></td> 46<td class="signal_name"><a class="link" href="GstRTSPExtension.html#GstRTSPExtension-send" title="The “send” signal">send</a></td> 47<td class="signal_flags"><a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td> 48</tr></tbody> 49</table></div> 50</div> 51<div class="refsect1"> 52<a name="GstRTSPExtension.other"></a><h2>Types and Values</h2> 53<div class="informaltable"><table class="informaltable" width="100%" border="0"> 54<colgroup> 55<col width="150px" class="name"> 56<col class="description"> 57</colgroup> 58<tbody> 59<tr> 60<td class="datatype_keyword"> </td> 61<td class="function_name"><a class="link" href="GstRTSPExtension.html#GstRTSPExtension-struct" title="GstRTSPExtension">GstRTSPExtension</a></td> 62</tr> 63<tr> 64<td class="datatype_keyword">struct</td> 65<td class="function_name"><a class="link" href="GstRTSPExtension.html#GstRTSPExtensionInterface" title="struct GstRTSPExtensionInterface">GstRTSPExtensionInterface</a></td> 66</tr> 67</tbody> 68</table></div> 69</div> 70<div class="refsect1"> 71<a name="GstRTSPExtension.object-hierarchy"></a><h2>Object Hierarchy</h2> 72<pre class="screen"> <a href="/usr/share/gtk-doc/html/gobject/GTypeModule.html">GInterface</a> 73 <span class="lineart">╰──</span> GstRTSPExtension 74</pre> 75</div> 76<div class="refsect1"> 77<a name="GstRTSPExtension.includes"></a><h2>Includes</h2> 78<pre class="synopsis">#include <gst/rtsp/rtsp.h> 79</pre> 80</div> 81<div class="refsect1"> 82<a name="GstRTSPExtension.description"></a><h2>Description</h2> 83<p>This interface is implemented e.g. by the Windows Media Streaming RTSP 84 exentension (rtspwms) and the RealMedia RTSP extension (rtspreal).</p> 85</div> 86<div class="refsect1"> 87<a name="GstRTSPExtension.functions_details"></a><h2>Functions</h2> 88<p></p> 89</div> 90<div class="refsect1"> 91<a name="GstRTSPExtension.other_details"></a><h2>Types and Values</h2> 92<div class="refsect2"> 93<a name="GstRTSPExtension-struct"></a><h3>GstRTSPExtension</h3> 94<pre class="programlisting">typedef struct _GstRTSPExtension GstRTSPExtension;</pre> 95</div> 96<hr> 97<div class="refsect2"> 98<a name="GstRTSPExtensionInterface"></a><h3>struct GstRTSPExtensionInterface</h3> 99<pre class="programlisting">struct GstRTSPExtensionInterface { 100 GTypeInterface parent; 101 102 /* vfunctions */ 103 gboolean (*detect_server) (GstRTSPExtension *ext, GstRTSPMessage *resp); 104 105 GstRTSPResult (*before_send) (GstRTSPExtension *ext, GstRTSPMessage *req); 106 GstRTSPResult (*after_send) (GstRTSPExtension *ext, GstRTSPMessage *req, GstRTSPMessage *resp); 107 108 GstRTSPResult (*parse_sdp) (GstRTSPExtension *ext, GstSDPMessage *sdp, GstStructure *s); 109 GstRTSPResult (*setup_media) (GstRTSPExtension *ext, GstSDPMedia *media); 110 111 gboolean (*configure_stream) (GstRTSPExtension *ext, GstCaps *caps); 112 113 GstRTSPResult (*get_transports) (GstRTSPExtension *ext, GstRTSPLowerTrans protocols, gchar **transport); 114 115 GstRTSPResult (*stream_select) (GstRTSPExtension *ext, GstRTSPUrl *url); 116 117 /* signals */ 118 GstRTSPResult (*send) (GstRTSPExtension *ext, GstRTSPMessage *req, GstRTSPMessage *resp); 119 120 /* ABI: more vfunctions added later */ 121 GstRTSPResult (*receive_request) (GstRTSPExtension *ext, GstRTSPMessage *req); 122}; 123</pre> 124<p>An interface representing RTSP extensions.</p> 125</div> 126</div> 127<div class="refsect1"> 128<a name="GstRTSPExtension.signal-details"></a><h2>Signal Details</h2> 129<div class="refsect2"> 130<a name="GstRTSPExtension-send"></a><h3>The <code class="literal">“send”</code> signal</h3> 131<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstRtspdefs.html#GstRTSPResult" title="enum GstRTSPResult"><span class="returnvalue">GstRTSPResult</span></a> 132user_function (<a class="link" href="GstRTSPExtension.html" title="GstRTSPExtension"><span class="type">GstRTSPExtension</span></a> *gstrtspextension, 133 <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> arg1, 134 <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> arg2, 135 <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre> 136<p>Flags: <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p> 137</div> 138</div> 139</div> 140<div class="footer"> 141<hr>Generated by GTK-Doc V1.28</div> 142</body> 143</html>