| Top | Home | Up | Prev | Next |
tcpclientsrc
tcpclientsrc
Types and Values
struct
GstTCPClientSrc
Object Hierarchy
GObject ╰── GInitiallyUnowned ╰── GstObject ╰── GstElement ╰── GstBaseSrc ╰── GstPushSrc ╰── GstTCPClientSrc
Description
Example launch line
1
server:
nc -l -p 3000
client:
gst-launch-1.0 tcpclientsrc port=3000 ! fdsink fd=2 ]| everything you type in the server is shown on the client. If you want to detect network failures and/or limit the time your tcp client keeps waiting for data from server setting a timeout value can be useful.
Synopsis
Element Information
Element Pads
name
srcdirection
sourcepresence
alwaysdetails
ANYFunctions
Types and Values
struct GstTCPClientSrc
struct GstTCPClientSrc;
Property Details
The "host" property
"host" gchar *
The host IP address to receive packets from.
Flags: Read / Write
Default value: "localhost"
The "port" property
"port" gint
The port to receive packets from.
Flags: Read / Write
Allowed values: [0,65535]
Default value: 4953
The "timeout" property
"timeout" guint
Value in seconds to timeout a blocking I/O. 0 = No timeout. .
Flags: Read / Write
Default value: 0
See Also
tcpclientsink
Generated by GTK-Doc V1.28