icecastsink

Sends an audio stream to an Icecast server.

Example pipelines

 gst-launch-1.0 uridecodebin3 uri=file:///path/to/audio.file ! audioconvert ! audioresample ! voaacenc ! icecastsink location='ice+http://source:password@rocketserver:8000/radio'

This will decode an audio file and re-encode it to AAC-LC and stream it to a local icecast server.

 gst-launch-1.0 uridecodebin3 uri=sdp:///path/to/dante-avio.sdp ! queue ! audioconvert ! audioresample ! voaacenc ! icecastsink location='ice+http://source:password@rocketserver:8000/radio'

This will receive an AES67 audio stream specified in the SDP file from the local network, re-encode it to AAC-LC and stream it to a local icecast server.

Hierarchy

GObject
    ╰──GInitiallyUnowned
        ╰──GstObject
            ╰──GstElement
                ╰──GstBaseSink
                    ╰──icecastsink

Implemented interfaces

Factory details

Authors: – Tim-Philipp Müller

Classification:Sink/Network

Rank – none

Plugin – icecast

Package – gst-plugin-icecast

Pad Templates

sink

audio/mpeg:
    mpegversion: 1
          layer: [ 1, 3 ]
       channels: [ 1, 2 ]
           rate: { (int)8000, (int)11025, (int)12000, (int)16000, (int)22050, (int)24000, (int)32000, (int)44100, (int)48000 }
         parsed: true
audio/mpeg:
    mpegversion: { (int)2, (int)4 }
           rate: { (int)48000, (int)96000, (int)44100, (int)22050, (int)11025 }
  stream-format: adts
         framed: true
audio/x-flac:
       channels: [ 1, 2 ]
           rate: { (int)48000, (int)96000, (int)44100, (int)22050, (int)11025 }
         framed: true
audio/ogg:

Presencealways

Directionsink

Object typeGstPad


Properties

auto-reconnect

“auto-reconnect” gboolean

Automatically re-connect if the connection with the server breaks

Flags : Read / Write

Default value : true


location

“location” gchararray

Icecast server, credentials and mount path, e.g. ice+http://source:p4ssw0rd@ingest.smoothjazz.radio:8000/radio

Flags : Read / Write

Default value : NULL


public

“public” gboolean

Whether the stream should be listed on the server's stream directory

Flags : Read / Write

Default value : true


stream-name

“stream-name” gchararray

Name of the stream (if not configured server-side for the mount point)

Flags : Read / Write

Default value : NULL


timeout

“timeout” guint

Timeout for network activity, in milliseconds

Flags : Read / Write

Default value : 10000


The results of the search are