4
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
<title>tcpserversink</title>
5
<title>GStreamer Base Plugins 1.0 Plugins Reference Manual: tcpserversink</title>
6
6
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
7
7
<link rel="home" href="index.html" title="GStreamer Base Plugins 1.0 Plugins Reference Manual">
8
8
<link rel="up" href="ch01.html" title="gst-plugins-base Elements">
9
9
<link rel="prev" href="gst-plugins-base-plugins-tcpserversrc.html" title="tcpserversrc">
10
10
<link rel="next" href="gst-plugins-base-plugins-textoverlay.html" title="textoverlay">
11
<meta name="generator" content="GTK-Doc V1.19 (XML mode)">
11
<meta name="generator" content="GTK-Doc V1.20 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
14
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="2">
17
<td><a accesskey="p" href="gst-plugins-base-plugins-tcpserversrc.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
18
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
19
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
20
<th width="100%" align="center">GStreamer Base Plugins 1.0 Plugins Reference Manual</th>
21
<td><a accesskey="n" href="gst-plugins-base-plugins-textoverlay.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
23
<tr><td colspan="5" class="shortcuts">
24
<a href="#gst-plugins-base-plugins-tcpserversink.synopsis" class="shortcut">Top</a>
26
<a href="#gst-plugins-base-plugins-tcpserversink.description" class="shortcut">Description</a>
28
<a href="#gst-plugins-base-plugins-tcpserversink.object-hierarchy" class="shortcut">Object Hierarchy</a>
30
<a href="#gst-plugins-base-plugins-tcpserversink.properties" class="shortcut">Properties</a>
15
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><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-base-plugins-tcpserversink.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
19
<a href="#gst-plugins-base-plugins-tcpserversink.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties"> <span class="dim">|</span>
20
<a href="#gst-plugins-base-plugins-tcpserversink.properties" class="shortcut">Properties</a></span>
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="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
24
<td><a accesskey="p" href="gst-plugins-base-plugins-tcpserversrc.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
25
<td><a accesskey="n" href="gst-plugins-base-plugins-textoverlay.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
33
27
<div class="refentry">
34
28
<a name="gst-plugins-base-plugins-tcpserversink"></a><div class="titlepage"></div>
35
29
<div class="refnamediv"><table width="100%"><tr>
37
31
<h2><span class="refentrytitle"><a name="gst-plugins-base-plugins-tcpserversink.top_of_page"></a>tcpserversink</span></h2>
38
32
<p>tcpserversink — Send data as a server over the network via TCP</p>
40
<td valign="top" align="right"></td>
34
<td class="gallery_image" valign="top" align="right"></td>
41
35
</tr></table></div>
42
<div class="refsynopsisdiv">
43
<a name="gst-plugins-base-plugins-tcpserversink.synopsis"></a><h2>Synopsis</h2>
44
<a name="GstTCPServerSink"></a><pre class="synopsis">struct <a class="link" href="gst-plugins-base-plugins-tcpserversink.html#GstTCPServerSink-struct" title="struct GstTCPServerSink">GstTCPServerSink</a>;
36
<div class="refsect1">
37
<a name="gst-plugins-base-plugins-tcpserversink.properties"></a><h2>Properties</h2>
38
<div class="informaltable"><table border="0">
40
<col width="150px" class="properties_type">
41
<col width="300px" class="properties_name">
42
<col width="200px" class="properties_flags">
46
<td class="property_type">
47
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
48
<td class="property_name"><a class="link" href="gst-plugins-base-plugins-tcpserversink.html#GstTCPServerSink--host" title="The “host” property">host</a></td>
49
<td class="property_flags">Read / Write</td>
52
<td class="property_type"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
53
<td class="property_name"><a class="link" href="gst-plugins-base-plugins-tcpserversink.html#GstTCPServerSink--port" title="The “port” property">port</a></td>
54
<td class="property_flags">Read / Write</td>
57
<td class="property_type"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
58
<td class="property_name"><a class="link" href="gst-plugins-base-plugins-tcpserversink.html#GstTCPServerSink--current-port" title="The “current-port” property">current-port</a></td>
59
<td class="property_flags">Read</td>
64
<a name="GstTCPServerSink"></a><div class="refsect1">
65
<a name="gst-plugins-base-plugins-tcpserversink.other"></a><h2>Types and Values</h2>
66
<div class="informaltable"><table width="100%" border="0">
68
<col width="150px" class="name">
69
<col class="description">
72
<td class="datatype_keyword">struct</td>
73
<td class="function_name"><a class="link" href="gst-plugins-base-plugins-tcpserversink.html#GstTCPServerSink-struct" title="struct GstTCPServerSink">GstTCPServerSink</a></td>
47
77
<div class="refsect1">
48
78
<a name="gst-plugins-base-plugins-tcpserversink.object-hierarchy"></a><h2>Object Hierarchy</h2>
49
<pre class="synopsis">
50
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
51
+----<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
52
+----<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstObject.html">GstObject</a>
53
+----<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html">GstElement</a>
54
+----<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-libs/html/GstBaseSink.html">GstBaseSink</a>
55
+----GstMultiHandleSink
56
+----<a class="link" href="gst-plugins-base-plugins-multisocketsink.html#GstMultiSocketSink">GstMultiSocketSink</a>
60
<div class="refsect1">
61
<a name="gst-plugins-base-plugins-tcpserversink.properties"></a><h2>Properties</h2>
62
<pre class="synopsis">
63
"<a class="link" href="gst-plugins-base-plugins-tcpserversink.html#GstTCPServerSink--host" title='The "host" property'>host</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
64
"<a class="link" href="gst-plugins-base-plugins-tcpserversink.html#GstTCPServerSink--port" title='The "port" property'>port</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write
65
"<a class="link" href="gst-plugins-base-plugins-tcpserversink.html#GstTCPServerSink--current-port" title='The "current-port" property'>current-port</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read
79
<pre class="screen"> <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
80
<span class="lineart">╰──</span> <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
81
<span class="lineart">╰──</span> <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstObject.html">GstObject</a>
82
<span class="lineart">╰──</span> <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html">GstElement</a>
83
<span class="lineart">╰──</span> <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-libs/html/GstBaseSink.html">GstBaseSink</a>
84
<span class="lineart">╰──</span> GstMultiHandleSink
85
<span class="lineart">╰──</span> <a class="link" href="gst-plugins-base-plugins-multisocketsink.html#GstMultiSocketSink">GstMultiSocketSink</a>
86
<span class="lineart">╰──</span> GstTCPServerSink
68
89
<div class="refsect1">
69
90
<a name="gst-plugins-base-plugins-tcpserversink.description"></a><h2>Description</h2>
72
91
<div class="refsect2">
73
<a name="id-1.2.29.6.2.1"></a><h3>Example launch line</h3>
92
<a name="id-1.2.29.7.2"></a><h3>Example launch line</h3>
74
93
<div class="informalexample">
75
94
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
153
170
<div class="refsect1">
154
<a name="gst-plugins-base-plugins-tcpserversink.details"></a><h2>Details</h2>
171
<a name="gst-plugins-base-plugins-tcpserversink.functions_details"></a><h2>Functions</h2>
173
<div class="refsect1">
174
<a name="gst-plugins-base-plugins-tcpserversink.other_details"></a><h2>Types and Values</h2>
155
175
<div class="refsect2">
156
176
<a name="GstTCPServerSink-struct"></a><h3>struct GstTCPServerSink</h3>
157
177
<pre class="programlisting">struct GstTCPServerSink;</pre>
159
Opaque data structure.
178
<p>Opaque data structure.</p>
163
181
<div class="refsect1">
164
182
<a name="gst-plugins-base-plugins-tcpserversink.property-details"></a><h2>Property Details</h2>
165
183
<div class="refsect2">
166
<a name="GstTCPServerSink--host"></a><h3>The <code class="literal">"host"</code> property</h3>
167
<pre class="programlisting"> "host" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
184
<a name="GstTCPServerSink--host"></a><h3>The <code class="literal">“host”</code> property</h3>
185
<pre class="programlisting"> “host” <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
168
186
<p>The host/IP to listen on.</p>
187
<p>Flags: Read / Write</p>
169
188
<p>Default value: "localhost"</p>
172
191
<div class="refsect2">
173
<a name="GstTCPServerSink--port"></a><h3>The <code class="literal">"port"</code> property</h3>
174
<pre class="programlisting"> "port" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre>
192
<a name="GstTCPServerSink--port"></a><h3>The <code class="literal">“port”</code> property</h3>
193
<pre class="programlisting"> “port” <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
175
194
<p>The port to listen to (0=random available port).</p>
195
<p>Flags: Read / Write</p>
176
196
<p>Allowed values: [0,65535]</p>
177
197
<p>Default value: 4953</p>
180
200
<div class="refsect2">
181
<a name="GstTCPServerSink--current-port"></a><h3>The <code class="literal">"current-port"</code> property</h3>
182
<pre class="programlisting"> "current-port" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read</pre>
184
The port number the socket is currently bound to. Applications can use
201
<a name="GstTCPServerSink--current-port"></a><h3>The <code class="literal">“current-port”</code> property</h3>
202
<pre class="programlisting"> “current-port” <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
203
<p>The port number the socket is currently bound to. Applications can use
185
204
this property to retrieve the port number actually bound to in case
186
the port requested was 0 (=allocate a random available port).
205
the port requested was 0 (=allocate a random available port).</p>
188
207
<p>Allowed values: [0,65535]</p>
189
208
<p>Default value: 0</p>
190
209
<p class="since">Since 1.0.2</p>