Omnia Audio Omnia A/XE User Manual

Page 84

Advertising
background image

78 | ShOUTcast Streaming

<port>8000</port>

<shoutcast-mount>/live.mp3</shoutcast-mount>

</listen-socket>

As before, the port specified is allocated but this time the shoutcast-mount implicity defines

a second listening socket whose port number is always one higher than the port defined,

this also informs icecast of which mountpoint the shoutcast source client on this socket will

be using. Using this approach you can allow multiple shoutcast source clients to connect at

the same time.
The following is just to show the longer approach to defining shoutcast compatability.

<shoutcast-mount>/live.nsv</shoutcast-mount>

<-- You may have multiple <listen-socket> elements -->

<listen-socket>

<port>8000</port>

</listen-socket>

<listen-socket>

<port>8001</port>

<shoutcast-compat>1</shoutcast-compat>

</listen-socket>

Note that multiple listen-socket sections may be configured in order to have icecast2 listen

on multiple network interfaces or multiple ports. If a bind-address is not specified for a

particular listen-socket, then the socket will be bound to all interfaces (including IPv6 if

available).
For most people, the bind-address option will not be required and often confuses people.

Configuration Options

port
The TCP port that will be used to accept client connections.
bind-address
An optional IP address that can be used to bind to a specific network card. If not supplied,

then it will bind to all interfaces.

shoutcast-mount
An optional mountpoint setting to be used when shoutcast DSP compatible clients connect.

The default global setting is /stream but can be overridden here to use an alternative name

which may include an extension that some clients require for certain formats. Defining this

within a listen-socket group tells icecast that this port and the subsequent port are to be

used for shoutcast compatible source clients. This is an alternative to the shoutcast-compat

approach as this implicitly defines the second listening socket and allows for specifying

multiple sockets using different mountpoints for shoutcast source clients. The shoutcast-

mount outside of a listen-socket group is the global setting of the mountpoint to use.

Advertising