Top |
Properties
gchar * | description | Read / Write |
gchar * | genre | Read / Write |
gchar * | ip | Read / Write |
gchar * | mount | Read / Write |
gchar * | password | Read / Write |
gint | port | Read / Write |
GstShout2SendProtocol | protocol | Read / Write |
gchar * | streamname | Read / Write |
gchar * | url | Read / Write |
gchar * | username | Read / Write |
gboolean | public | Read / Write |
guint | timeout | Read / Write |
Object Hierarchy
GObject ╰── GInitiallyUnowned ╰── GstObject ╰── GstElement ╰── GstBaseSink ╰── GstShout2send
Description
shout2send pushes a media stream to an Icecast server
Example launch line
1 |
gst-launch-1.0 uridecodebin uri=file:///path/to/audiofile ! audioconvert ! vorbisenc ! oggmux ! shout2send mount=/stream.ogg port=8000 username=source password=somepassword ip=server_IP_address_or_hostname |
Synopsis
Element Information
plugin |
shout2 |
author |
Wim Taymans <wim.taymans@chello.be>, Pedro Corte-Real <typo@netcabo.pt>, Zaheer Abbas Merali <zaheerabbas at merali dot org> |
class |
Sink/Network |
Property Details
The “ip”
property
“ip” gchar *
IP address or hostname.
Flags: Read / Write
Default value: "127.0.0.1"
The “port”
property
“port” gint
port.
Flags: Read / Write
Allowed values: [1,65535]
Default value: 8000
The “protocol”
property
“protocol” GstShout2SendProtocol
Connection Protocol to use.
Flags: Read / Write
Default value: Http Protocol (icecast 2.x)
The “streamname”
property
“streamname” gchar *
name of the stream.
Flags: Read / Write
Default value: ""
The “public”
property
“public” gboolean
If the stream should be listed on the server's stream directory.
Flags: Read / Write
Default value: FALSE
The “timeout”
property
“timeout” guint
Max amount of time to wait for network activity, in milliseconds.
Flags: Read / Write
Allowed values: >= 1
Default value: 10000
Signal Details
The “connection-problem”
signal
void user_function (GstShout2send *gstshout2send, gint arg1, gpointer user_data)
Flags: Cleanup