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>neonhttpsrc: GStreamer Bad Plugins 1.0 Plugins 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 Plugins Reference Manual"> 8<link rel="up" href="ch01.html" title="gst-plugins-bad Elements"> 9<link rel="prev" href="gst-plugins-bad-plugins-mxfmux.html" title="mxfmux"> 10<link rel="next" href="gst-plugins-bad-plugins-netsim.html" title="netsim"> 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="#gst-plugins-bad-plugins-neonhttpsrc.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span> 19 <a href="#gst-plugins-bad-plugins-neonhttpsrc.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_interfaces"> <span class="dim">|</span> 20 <a href="#gst-plugins-bad-plugins-neonhttpsrc.implemented-interfaces" class="shortcut">Implemented Interfaces</a></span><span id="nav_properties"> <span class="dim">|</span> 21 <a href="#gst-plugins-bad-plugins-neonhttpsrc.properties" class="shortcut">Properties</a></span> 22</td> 23<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td> 24<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td> 25<td><a accesskey="p" href="gst-plugins-bad-plugins-mxfmux.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td> 26<td><a accesskey="n" href="gst-plugins-bad-plugins-netsim.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td> 27</tr></table> 28<div class="refentry"> 29<a name="gst-plugins-bad-plugins-neonhttpsrc"></a><div class="titlepage"></div> 30<div class="refnamediv"><table width="100%"><tr> 31<td valign="top"> 32<h2><span class="refentrytitle"><a name="gst-plugins-bad-plugins-neonhttpsrc.top_of_page"></a>neonhttpsrc</span></h2> 33<p>neonhttpsrc</p> 34</td> 35<td class="gallery_image" valign="top" align="right"></td> 36</tr></table></div> 37<div class="refsect1"> 38<a name="gst-plugins-bad-plugins-neonhttpsrc.properties"></a><h2>Properties</h2> 39<div class="informaltable"><table class="informaltable" border="0"> 40<colgroup> 41<col width="150px" class="properties_type"> 42<col width="300px" class="properties_name"> 43<col width="200px" class="properties_flags"> 44</colgroup> 45<tbody> 46<tr> 47<td class="property_type"> 48<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td> 49<td class="property_name"><a class="link" href="gst-plugins-bad-plugins-neonhttpsrc.html#GstNeonhttpSrc--location" title="The “location” property">location</a></td> 50<td class="property_flags">Read / Write</td> 51</tr> 52<tr> 53<td class="property_type"> 54<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td> 55<td class="property_name"><a class="link" href="gst-plugins-bad-plugins-neonhttpsrc.html#GstNeonhttpSrc--proxy" title="The “proxy” property">proxy</a></td> 56<td class="property_flags">Read / Write</td> 57</tr> 58<tr> 59<td class="property_type"><a href="/usr/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html#gchararray"><span class="type">gchararray</span></a></td> 60<td class="property_name"><a class="link" href="gst-plugins-bad-plugins-neonhttpsrc.html#GstNeonhttpSrc--uri" title="The “uri” property">uri</a></td> 61<td class="property_flags">Read / Write</td> 62</tr> 63<tr> 64<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td> 65<td class="property_name"><a class="link" href="gst-plugins-bad-plugins-neonhttpsrc.html#GstNeonhttpSrc--automatic-redirect" title="The “automatic-redirect” property">automatic-redirect</a></td> 66<td class="property_flags">Read / Write</td> 67</tr> 68<tr> 69<td class="property_type"> 70<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td> 71<td class="property_name"><a class="link" href="gst-plugins-bad-plugins-neonhttpsrc.html#GstNeonhttpSrc--iradio-genre" title="The “iradio-genre” property">iradio-genre</a></td> 72<td class="property_flags">Read</td> 73</tr> 74<tr> 75<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td> 76<td class="property_name"><a class="link" href="gst-plugins-bad-plugins-neonhttpsrc.html#GstNeonhttpSrc--iradio-mode" title="The “iradio-mode” property">iradio-mode</a></td> 77<td class="property_flags">Read / Write</td> 78</tr> 79<tr> 80<td class="property_type"> 81<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td> 82<td class="property_name"><a class="link" href="gst-plugins-bad-plugins-neonhttpsrc.html#GstNeonhttpSrc--iradio-name" title="The “iradio-name” property">iradio-name</a></td> 83<td class="property_flags">Read</td> 84</tr> 85<tr> 86<td class="property_type"> 87<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td> 88<td class="property_name"><a class="link" href="gst-plugins-bad-plugins-neonhttpsrc.html#GstNeonhttpSrc--iradio-url" title="The “iradio-url” property">iradio-url</a></td> 89<td class="property_flags">Read</td> 90</tr> 91<tr> 92<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td> 93<td class="property_name"><a class="link" href="gst-plugins-bad-plugins-neonhttpsrc.html#GstNeonhttpSrc--neon-http-debug" title="The “neon-http-debug” property">neon-http-debug</a></td> 94<td class="property_flags">Read / Write</td> 95</tr> 96<tr> 97<td class="property_type"> 98<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td> 99<td class="property_name"><a class="link" href="gst-plugins-bad-plugins-neonhttpsrc.html#GstNeonhttpSrc--user-agent" title="The “user-agent” property">user-agent</a></td> 100<td class="property_flags">Read / Write</td> 101</tr> 102<tr> 103<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td> 104<td class="property_name"><a class="link" href="gst-plugins-bad-plugins-neonhttpsrc.html#GstNeonhttpSrc--accept-self-signed" title="The “accept-self-signed” property">accept-self-signed</a></td> 105<td class="property_flags">Read / Write</td> 106</tr> 107<tr> 108<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></td> 109<td class="property_name"><a class="link" href="gst-plugins-bad-plugins-neonhttpsrc.html#GstNeonhttpSrc--connect-timeout" title="The “connect-timeout” property">connect-timeout</a></td> 110<td class="property_flags">Read / Write</td> 111</tr> 112<tr> 113<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-String-Utility-Functions.html#GStrv"><span class="type">GStrv</span></a></td> 114<td class="property_name"><a class="link" href="gst-plugins-bad-plugins-neonhttpsrc.html#GstNeonhttpSrc--cookies" title="The “cookies” property">cookies</a></td> 115<td class="property_flags">Read / Write</td> 116</tr> 117<tr> 118<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></td> 119<td class="property_name"><a class="link" href="gst-plugins-bad-plugins-neonhttpsrc.html#GstNeonhttpSrc--read-timeout" title="The “read-timeout” property">read-timeout</a></td> 120<td class="property_flags">Read / Write</td> 121</tr> 122</tbody> 123</table></div> 124</div> 125<a name="GstNeonhttpSrc"></a><div class="refsect1"> 126<a name="gst-plugins-bad-plugins-neonhttpsrc.other"></a><h2>Types and Values</h2> 127<div class="informaltable"><table class="informaltable" width="100%" border="0"> 128<colgroup> 129<col width="150px" class="name"> 130<col class="description"> 131</colgroup> 132<tbody><tr> 133<td class="datatype_keyword">struct</td> 134<td class="function_name"><a class="link" href="gst-plugins-bad-plugins-neonhttpsrc.html#GstNeonhttpSrc-struct" title="struct GstNeonhttpSrc">GstNeonhttpSrc</a></td> 135</tr></tbody> 136</table></div> 137</div> 138<div class="refsect1"> 139<a name="gst-plugins-bad-plugins-neonhttpsrc.object-hierarchy"></a><h2>Object Hierarchy</h2> 140<pre class="screen"> <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a> 141 <span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a> 142 <span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstObject.html#GstObject-struct">GstObject</a> 143 <span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstElement.html#GstElement-struct">GstElement</a> 144 <span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gstreamer-libs-1.0/GstBaseSrc.html#GstBaseSrc-struct">GstBaseSrc</a> 145 <span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gstreamer-libs-1.0/GstPushSrc.html#GstPushSrc-struct">GstPushSrc</a> 146 <span class="lineart">╰──</span> GstNeonhttpSrc 147</pre> 148</div> 149<div class="refsect1"> 150<a name="gst-plugins-bad-plugins-neonhttpsrc.implemented-interfaces"></a><h2>Implemented Interfaces</h2> 151<p> 152GstNeonhttpSrc implements 153 <a href="/usr/share/gtk-doc/html/gstreamer-1.0/gstreamer-GstUriHandler.html#GstURIHandler-struct">GstURIHandler</a>.</p> 154</div> 155<div class="refsect1"> 156<a name="gst-plugins-bad-plugins-neonhttpsrc.description"></a><h2>Description</h2> 157<div class="refsynopsisdiv"> 158<h2>Synopsis</h2> 159<div class="refsect2"> 160<a name="id-1.2.153.8.2.1"></a><h3>Element Information</h3> 161<div class="variablelist"><table border="0" class="variablelist"> 162<colgroup> 163<col align="left" valign="top"> 164<col> 165</colgroup> 166<tbody> 167<tr> 168<td><p><span class="term">plugin</span></p></td> 169<td> 170 <a class="link" href="gst-plugins-bad-plugins-plugin-neonhttpsrc.html#plugin-neonhttpsrc">neonhttpsrc</a> 171 </td> 172</tr> 173<tr> 174<td><p><span class="term">author</span></p></td> 175<td>Edgard Lima <edgard.lima@gmail.com>, Rosfran Borges <rosfran.borges@indt.org.br>, Andre Moreira Magalhaes <andre.magalhaes@indt.org.br></td> 176</tr> 177<tr> 178<td><p><span class="term">class</span></p></td> 179<td>Source/Network</td> 180</tr> 181</tbody> 182</table></div> 183</div> 184<hr> 185<div class="refsect2"> 186<a name="id-1.2.153.8.2.2"></a><h3>Element Pads</h3> 187<div class="variablelist"><table border="0" class="variablelist"> 188<colgroup> 189<col align="left" valign="top"> 190<col> 191</colgroup> 192<tbody> 193<tr> 194<td><p><span class="term">name</span></p></td> 195<td>src</td> 196</tr> 197<tr> 198<td><p><span class="term">direction</span></p></td> 199<td>source</td> 200</tr> 201<tr> 202<td><p><span class="term">presence</span></p></td> 203<td>always</td> 204</tr> 205<tr> 206<td><p><span class="term">details</span></p></td> 207<td>ANY</td> 208</tr> 209</tbody> 210</table></div> 211</div> 212</div> 213</div> 214<div class="refsect1"> 215<a name="gst-plugins-bad-plugins-neonhttpsrc.functions_details"></a><h2>Functions</h2> 216<p></p> 217</div> 218<div class="refsect1"> 219<a name="gst-plugins-bad-plugins-neonhttpsrc.other_details"></a><h2>Types and Values</h2> 220<div class="refsect2"> 221<a name="GstNeonhttpSrc-struct"></a><h3>struct GstNeonhttpSrc</h3> 222<pre class="programlisting">struct GstNeonhttpSrc;</pre> 223</div> 224</div> 225<div class="refsect1"> 226<a name="gst-plugins-bad-plugins-neonhttpsrc.property-details"></a><h2>Property Details</h2> 227<div class="refsect2"> 228<a name="GstNeonhttpSrc--location"></a><h3>The <code class="literal">“location”</code> property</h3> 229<pre class="programlisting"> “location” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre> 230<p>Location to read from.</p> 231<p>Flags: Read / Write</p> 232<p>Default value: ""</p> 233</div> 234<hr> 235<div class="refsect2"> 236<a name="GstNeonhttpSrc--proxy"></a><h3>The <code class="literal">“proxy”</code> property</h3> 237<pre class="programlisting"> “proxy” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre> 238<p>Proxy server to use, in the form HOSTNAME:PORT. Defaults to the http_proxy environment variable.</p> 239<p>Flags: Read / Write</p> 240<p>Default value: ""</p> 241</div> 242<hr> 243<div class="refsect2"> 244<a name="GstNeonhttpSrc--uri"></a><h3>The <code class="literal">“uri”</code> property</h3> 245<pre class="programlisting"> “uri” <a href="/usr/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html#gchararray"><span class="type">gchararray</span></a></pre> 246<p>The location in form of a URI (deprecated; use location).</p> 247<p>Flags: Read / Write</p> 248<p>Default value: ""</p> 249</div> 250<hr> 251<div class="refsect2"> 252<a name="GstNeonhttpSrc--automatic-redirect"></a><h3>The <code class="literal">“automatic-redirect”</code> property</h3> 253<pre class="programlisting"> “automatic-redirect” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre> 254<p>Automatically follow HTTP redirects (HTTP Status Code 3xx).</p> 255<p>Flags: Read / Write</p> 256<p>Default value: TRUE</p> 257</div> 258<hr> 259<div class="refsect2"> 260<a name="GstNeonhttpSrc--iradio-genre"></a><h3>The <code class="literal">“iradio-genre”</code> property</h3> 261<pre class="programlisting"> “iradio-genre” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre> 262<p>Genre of the stream.</p> 263<p>Flags: Read</p> 264<p>Default value: NULL</p> 265</div> 266<hr> 267<div class="refsect2"> 268<a name="GstNeonhttpSrc--iradio-mode"></a><h3>The <code class="literal">“iradio-mode”</code> property</h3> 269<pre class="programlisting"> “iradio-mode” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre> 270<p>Enable internet radio mode (ask server to send shoutcast/icecast metadata interleaved with the actual stream data).</p> 271<p>Flags: Read / Write</p> 272<p>Default value: TRUE</p> 273</div> 274<hr> 275<div class="refsect2"> 276<a name="GstNeonhttpSrc--iradio-name"></a><h3>The <code class="literal">“iradio-name”</code> property</h3> 277<pre class="programlisting"> “iradio-name” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre> 278<p>Name of the stream.</p> 279<p>Flags: Read</p> 280<p>Default value: NULL</p> 281</div> 282<hr> 283<div class="refsect2"> 284<a name="GstNeonhttpSrc--iradio-url"></a><h3>The <code class="literal">“iradio-url”</code> property</h3> 285<pre class="programlisting"> “iradio-url” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre> 286<p>Homepage URL for radio stream.</p> 287<p>Flags: Read</p> 288<p>Default value: NULL</p> 289</div> 290<hr> 291<div class="refsect2"> 292<a name="GstNeonhttpSrc--neon-http-debug"></a><h3>The <code class="literal">“neon-http-debug”</code> property</h3> 293<pre class="programlisting"> “neon-http-debug” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre> 294<p>Enable Neon HTTP debug messages.</p> 295<p>Flags: Read / Write</p> 296<p>Default value: FALSE</p> 297</div> 298<hr> 299<div class="refsect2"> 300<a name="GstNeonhttpSrc--user-agent"></a><h3>The <code class="literal">“user-agent”</code> property</h3> 301<pre class="programlisting"> “user-agent” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre> 302<p>Value of the User-Agent HTTP request header field.</p> 303<p>Flags: Read / Write</p> 304<p>Default value: "GStreamer neonhttpsrc"</p> 305</div> 306<hr> 307<div class="refsect2"> 308<a name="GstNeonhttpSrc--accept-self-signed"></a><h3>The <code class="literal">“accept-self-signed”</code> property</h3> 309<pre class="programlisting"> “accept-self-signed” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre> 310<p>Accept self-signed SSL/TLS certificates.</p> 311<p>Flags: Read / Write</p> 312<p>Default value: FALSE</p> 313</div> 314<hr> 315<div class="refsect2"> 316<a name="GstNeonhttpSrc--connect-timeout"></a><h3>The <code class="literal">“connect-timeout”</code> property</h3> 317<pre class="programlisting"> “connect-timeout” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></pre> 318<p>Value in seconds to timeout a blocking connection (0 = default).</p> 319<p>Flags: Read / Write</p> 320<p>Allowed values: <= 3600</p> 321<p>Default value: 0</p> 322</div> 323<hr> 324<div class="refsect2"> 325<a name="GstNeonhttpSrc--cookies"></a><h3>The <code class="literal">“cookies”</code> property</h3> 326<pre class="programlisting"> “cookies” <a href="/usr/share/gtk-doc/html/glib/glib-String-Utility-Functions.html#GStrv"><span class="type">GStrv</span></a></pre> 327<p>HTTP request cookies.</p> 328<p>Flags: Read / Write</p> 329</div> 330<hr> 331<div class="refsect2"> 332<a name="GstNeonhttpSrc--read-timeout"></a><h3>The <code class="literal">“read-timeout”</code> property</h3> 333<pre class="programlisting"> “read-timeout” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></pre> 334<p>Value in seconds to timeout a blocking read (0 = default).</p> 335<p>Flags: Read / Write</p> 336<p>Allowed values: <= 3600</p> 337<p>Default value: 0</p> 338</div> 339</div> 340</div> 341<div class="footer"> 342<hr>Generated by GTK-Doc V1.28</div> 343</body> 344</html>