SC Docs
SC Docs
0 documentation
Last Modified by jkey Thu 5th aug 2010
Introduction
The goal of SHOUTcast dnas 2 is to provide enhanced serving features and access to the new yp2
infrastructure while maintaining as much backward compatibility with the previous sc_serv as
possible. New features include :
To take advantage of these new features you will also need the following:
The yp2 interface requires an authorization hash for each station you are running. This hash is
valid for all root servers of that station. To get an authorization hash you must register as a
broadcaster on http://www.shoutcast.com.
Running as daemon or service
Install as windows service
example:
Note:
There is no good sense of "working directory" when running as a service,
so all paths in the config file and the playlist file should be fully specified.
example:
Unix signals
LOGGING OPTIONS:
FLASH SECURITY:
This file is used for connections from adobe flash player,example a flash player
like the one used on http://www.shoutcast.com.
More information on crossdomain policy files can be found here:
http://kb2.adobe.com/cps/142/tn_14213.html
flashpolicyfile - name of file that has flash crossdomain policies Default = crossdomain.xml
BUFFERS :
NETWORKING:
YP (SHOUTCAST DIRECTORY):
CLIENT BEHAVIOR:
MISC:
RELAYING:
MUTLI:
streamid - ID of stream
streamauthhash - authorization hash for yp2 registration
streampath - path clients use to access stream
streamrelayurl - url of source to relay (if this is a relay)
If you are going to connect multiple sc_trans instances to sc_serv, you must use the Shoutcast2
protocol.
The original Shoutcast protocol had no means of specifying a stream ID. Clients connecting to the
server do not need Shoutcast2 support, since SHOUTcast dnas will repackage the stream data and
metadata for them as appropriate.
streamid_0=2
streamauthhash_0=abcdef
streampath_0=/bitrate/128
streamid_1=3
streamauthhash_1=abcdef
streampath_1=/bitrate/64
streamid_2=4
streamauthhash_2=abcdef
streampath_2=/bitrate/24
streamid_3=5
streamauthhash_3=aaaabbbbcccc
streampath_3=/headbash/relay/extra
streamrelayurl_3=http://foo.bar.whatever:80/stream/1074
Administrative pages:
These pages still exist, but now must be explicitly access via
the /index.html path. Information about streams other than stream #1 can
be accessed via /index.html?sid=#