1
0
mirror of https://gitlab.xiph.org/xiph/ezstream.git synced 2024-12-04 14:46:31 -05:00
ezstream/tests/config-bad5.xml
Moritz Grimm ed9e84f387 Change config format to (eventually) support concurrent streams to many servers
Everything ties together in stream configurations, of which there can be many
now.

For the time being, every stream configuration but the "default" is ignored.

Every stream/server/encoder/decoder configuration now has the name "default"
by default, so that configuring names is only needed to resolve ambiguities.

Decoder configurations are now also constrained in this manner for consistency,
meaning they are no longer uniquely identified by a number of file extensions
but also a name.
2017-11-18 01:54:14 +01:00

56 lines
1.0 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ezstream>
<servers>
<server>
<hostname>localhost</hostname>
<password>secret</password>
<name>duplicate</name>
</server>
<server>
<hostname>localhost</hostname>
<password>secret</password>
<name>duplicate</name>
</server>
</servers>
<streams>
<stream>
<format>vorbis</format>
<name>duplicate</name>
</stream>
<stream>
<format>vorbis</format>
<name>duplicate</name>
</stream>
</streams>
<decoders>
<decoder>
<program>true @T@</program>
<name>duplicate</name>
<file_ext>.ogg</file_ext>
</decoder>
<decoder>
<program>true @T@</program>
<name>duplicate</name>
<file_ext>.ogg</file_ext>
</decoder>
<!-- ... -->
</decoders>
<encoders>
<encoder>
<format>vorbis</format>
<name>duplicate</name>
</encoder>
<encoder>
<format>vorbis</format>
<name>duplicate</name>
</encoder>
<!-- ... -->
</encoders>
</ezstream>