2007-02-24 16:12:54 -05:00
|
|
|
<!--
|
2007-03-10 15:13:56 -05:00
|
|
|
EXAMPLE: Ogg Vorbis stream WITHOUT reencoding, using an external playlist
|
|
|
|
program and an external metadata program, with a custom format
|
|
|
|
string.
|
2007-02-24 16:12:54 -05:00
|
|
|
|
2007-03-10 15:13:56 -05:00
|
|
|
This example streams (only) Ogg Vorbis files that are provided by an
|
|
|
|
external playlist script. The script must not return filenames of non-.ogg
|
|
|
|
files. Metadata for this stream is not acquired from the media file itself
|
|
|
|
but from another external program 'meta.sh'.
|
2007-02-24 16:12:54 -05:00
|
|
|
-->
|
2004-01-30 12:19:45 -05:00
|
|
|
<ezstream>
|
2005-01-04 19:38:09 -05:00
|
|
|
<url>http://localhost:8000/vorbis.ogg</url>
|
2004-01-30 12:19:45 -05:00
|
|
|
<sourcepassword>hackme</sourcepassword>
|
2005-01-04 19:38:09 -05:00
|
|
|
<format>VORBIS</format>
|
2007-03-10 15:13:56 -05:00
|
|
|
<!-- The playlist program name is provided here: -->
|
|
|
|
<filename>play.sh</filename>
|
|
|
|
<!-- Tell ezstream that <filename/> is a playlist program: -->
|
|
|
|
<playlist_program>1</playlist_program>
|
|
|
|
<!-- Use the meta.sh script to get metadata -->
|
|
|
|
<metadata_progname>meta.sh</metadata_progname>
|
|
|
|
<!-- Set the metadata string according to this format: -->
|
|
|
|
<metadata_format>@s@: @a@ - @t@</metadata_format>
|
2010-06-21 14:39:26 -04:00
|
|
|
<!-- Update metadata from meta.sh at least once every 10 seconds: -->
|
|
|
|
<metadata_refreshinterval>10</metadata_refreshinterval>
|
2007-02-28 16:48:01 -05:00
|
|
|
<!--
|
2007-02-24 16:12:54 -05:00
|
|
|
The following settings are used to describe your stream to the server.
|
|
|
|
It's up to you to make sure that the bitrate/quality/samplerate/channels
|
|
|
|
information matches up with your input stream files.
|
|
|
|
-->
|
|
|
|
<svrinfoname>My Stream</svrinfoname>
|
|
|
|
<svrinfourl>http://www.oddsock.org</svrinfourl>
|
2004-01-30 12:19:45 -05:00
|
|
|
<svrinfogenre>RockNRoll</svrinfogenre>
|
|
|
|
<svrinfodescription>This is a stream description</svrinfodescription>
|
2007-02-24 16:12:54 -05:00
|
|
|
<svrinfobitrate>96</svrinfobitrate>
|
|
|
|
<svrinfoquality>2.0</svrinfoquality>
|
2004-01-30 12:19:45 -05:00
|
|
|
<svrinfochannels>2</svrinfochannels>
|
|
|
|
<svrinfosamplerate>44100</svrinfosamplerate>
|
2007-02-24 16:12:54 -05:00
|
|
|
<!-- Allow the server to advertise the stream on a public YP directory: -->
|
|
|
|
<svrinfopublic>1</svrinfopublic>
|
2004-01-30 12:19:45 -05:00
|
|
|
</ezstream>
|