![]() ![]() ![]() Due to major differences in the source client connection protocol, if you wish to use any of the shoutcast DJ tools, you will need to configure at least one socket as shoutcast-compatible. shoutcast-compat This optional flag will indicate that this port will operate in ‘shoutcast-compatibility’ mode. If not supplied, then it will bind to all interfaces. bind-address An optional IP address that can be used to bind to a specific network card. port The TCP port that will be used to accept client connections. There is an internal limit of 20 listening sockets currently, which may be extended in later releases. Generally, you won’t need to set bind-address. If a bind-address is not specified for a particular listen-socket, then the socket will be bound to all interfaces. Note that multiple listen-socket sections may be configured in order to have icecast2 listen on multiple network interfaces. This section contains miscellaneous server settings. A list of these functions can be found in the “Administration” section of the manual. This includes retrieving statistics, accessing the web-basedĪdministration screens, etc. admin-user/admin-password The username/password used for all administration functions. The default username is relay relay-password Used in the master server as part of the authentication when a slave requests the list of streams to relay. relay-user Used in the master server as part of the authentication when a slave requests the list of streams Currently, the username for all source connections must be ‘source’. source-password The unencrypted password used by sources to connect to icecast2. This section contains all the usernames and passwords used for administration purposes or to connect sources and relays. The default is 64 kbytes which is a typical size used by most clients so changing it is not usually required. This is to quickly fill the pre-buffer used by media players. burst-size The burst size is the amount of data (in bytes) to burst to a client at connection time. The latency is bitrate-dependent, but as an example, for a 128kbps stream, the latency between the source and the player is ~ 1.5 secs without burst on connect, and with burst on connect the latency is 3 secs. If this latency is important to you, then you can disable this feature. This may introduce a small latency in the stream (difference in time between when the source plays a clip and the listener hears a clip). This is due to the fact that most media players have local buffers that must be filled before the stream begins to play. This will have the effect of reducing the startup time for the stream from the perspective of the listener. burst-on-connect With this enabled, a connecting client will be sent a burst of audio data from the stream. Then the source connection will be removed from the server. source-timeout If a connected source does not send any data within this timeout period (in seconds), ![]() In general this value should not need to be tweaked. header-timeout The maximum time (in seconds) to wait for a request to come in once the client has made a connection client-timeout This does not seem to be used. If the queue grows larger than this config value, then the listener will be removed from the stream. A listener may temporarily lag behind due to network congestion and in this case an internal queue is maintained for each listener. queue-size This is the maximum size (in bytes) of a client (listener) queue. Increase this value if you are running a high traffic stream. This includes active relays and source clients threadpool This is the number of threads that are started to handle client connections. sources Maximum number of connected sources supported by the server. These are max concurrent connections for the entire server (not per mountpoint). fileserved content) and also any requests to Listeners are considered clients,īut so are accesses to any static content (i.e. clients Total number of concurrent clients supported by the server. Only modify this section if you know what you are doing. This section contains server level settings that, in general, do not need to be changed. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |