Guides

Connect and diagnose a source client

Configure the encoder side of an Icecast connection, distinguish PUT from legacy SOURCE, and diagnose credentials, media types and disconnects.

On this page

The encoder produces the stream Icecast distributes. A running encoder application is not necessarily connected: playback, encoding and server output may be separate controls. Diagnose the output connection rather than using the application’s open window as evidence.

Match the two ends

Encoder fieldIcecast counterpart
Server typeAn Icecast-compatible protocol, not an arbitrary streaming mode
Host and portA reachable listening socket
EncryptionTLS support and the selected socket’s policy
UsernameUsually source, unless the mount’s policy changes it
PasswordMatching global or mount-specific source secret
MountExact path such as /live.ogg
Media typeActual codec/container and appropriate Content-Type

Do not include a URL scheme in a host-only field or append .m3u to the encoder’s mountpoint. That suffix requests a listener playlist; it is not the incoming stream name.

Know which protocol is in use

Current source applications can use HTTP PUT. Legacy applications may use the older SOURCE method, and Shoutcast DSP compatibility has its own socket rules. Icecast’s 2.4 series introduced PUT support; that does not mean every encoder uses it automatically. Select the matching mode in the source client and consult that client’s own documentation for its fields.

The source must describe what it really sends. An MP3 byte stream labelled as Ogg is not corrected by giving its mount an .ogg extension. Icecast also does not transcode it into the desired format.

Read a failure as a sequence

First check whether a TCP/TLS connection is established. Then check authentication, the accepted mount path and whether media continues arriving. A credential failure can come from a mount override even when the global password appears correct. A source-limit failure may include active relays. A second source on an already active mount is a different case from a bad password.

Once connected, verify the mount in administration, listen with a known-compatible player and watch the error log during a planned disconnect/reconnect. Use a local, non-sensitive test source first. Keep production passwords out of screenshots, URLs, shell history and support excerpts.

Sources

  • Icecast 2.5.0 source archive (.tar.gz)

    2.5.0 · Retrieved

    Files used from this archive

    • Basic setupdoc/basic_setup/index.html
    • Installation notesREADME.md
    • Authenticationdoc/auth/index.html
    • Configuration referencedoc/config_file/index.html