| Top |
| 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 |
shout2send pushes a media stream to an Icecast server
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 |
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 |
struct GstShout2send {
GstBaseSink parent;
GstShout2SendProtocol protocol;
GstPoll *timer;
shout_t *conn;
gchar *ip;
guint port;
gchar *password;
gchar *username;
gchar *streamname;
gchar *description;
gchar *genre;
gchar *mount;
gchar *url;
gboolean connected;
gboolean ispublic;
gchar *songmetadata;
gchar *songartist;
gchar *songtitle;
int format;
GstTagList* tags;
};
“ip” property“ip” gchar *
IP address or hostname.
Flags: Read / Write
Default value: "127.0.0.1"
“port” property“port” gint
port.
Flags: Read / Write
Allowed values: [1,65535]
Default value: 8000
“protocol” property “protocol” GstShout2SendProtocol
Connection Protocol to use.
Flags: Read / Write
Default value: Http Protocol (icecast 2.x)
“streamname” property“streamname” gchar *
name of the stream.
Flags: Read / Write
Default value: ""
“public” property“public” gboolean
If the stream should be listed on the server's stream directory.
Flags: Read / Write
Default value: FALSE
“connection-problem” signalvoid user_function (GstShout2send *gstshout2send, gint arg1, gpointer user_data)
Flags: Cleanup