mirror of
https://gitlab.xiph.org/xiph/ezstream.git
synced 2024-12-04 14:46:31 -05:00
* Add new configuration example for streaming from standard input.
* Rename reencoding examples to shorter and less redundant filenames. git-svn-id: https://svn.xiph.org/trunk/ezstream@14094 0101bb08-14d6-0310-b084-bc0e0c8e3800
This commit is contained in:
parent
0b31a1b57f
commit
22884e3fbb
@ -1,9 +1,9 @@
|
||||
AUTOMAKE_OPTIONS = 1.9 foreign
|
||||
|
||||
examplesdir = @EXAMPLES_DIR@
|
||||
dist_examples_DATA = ezstream_mp3.xml ezstream_reencoding_example_mp3.xml \
|
||||
ezstream_reencoding_example_theora.xml \
|
||||
ezstream_reencoding_example_vorbis.xml ezstream_vorbis.xml \
|
||||
dist_examples_DATA = ezstream_mp3.xml ezstream_reencode_mp3.xml \
|
||||
ezstream_reencode_theora.xml ezstream_reencode_vorbis.xml \
|
||||
ezstream_stdin_vorbis.xml ezstream_vorbis.xml \
|
||||
ezstream_metadata.xml
|
||||
dist_examples_SCRIPTS = meta.sh play.sh
|
||||
|
||||
|
36
examples/ezstream_stdin_vorbis.xml
Normal file
36
examples/ezstream_stdin_vorbis.xml
Normal file
@ -0,0 +1,36 @@
|
||||
<!--
|
||||
EXAMPLE: Ogg Vorbis stream from standard input WITHOUT reencoding
|
||||
|
||||
This example streams an Ogg Vorbis stream from standard input (stdin.)
|
||||
Since ezstream will not be doing any reencoding, the resulting stream
|
||||
format (quality/bitrate, samplerate, channels) will be of the respective
|
||||
input stream.
|
||||
-->
|
||||
<ezstream>
|
||||
<url>http://localhost:8000/vorbis.ogg</url>
|
||||
<sourcepassword>hackme</sourcepassword>
|
||||
<format>VORBIS</format>
|
||||
<filename>stdin</filename>
|
||||
<!--
|
||||
Important:
|
||||
For streaming from standard input, the default for continuous streaming
|
||||
is bad. Set <stream_once /> to 1 here to prevent ezstream from spinning
|
||||
endlessly when the input stream stops:
|
||||
-->
|
||||
<stream_once>1</stream_once>
|
||||
<!--
|
||||
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>
|
||||
<svrinfogenre>RockNRoll</svrinfogenre>
|
||||
<svrinfodescription>This is a stream description</svrinfodescription>
|
||||
<svrinfobitrate>96</svrinfobitrate>
|
||||
<svrinfoquality>2.0</svrinfoquality>
|
||||
<svrinfochannels>2</svrinfochannels>
|
||||
<svrinfosamplerate>44100</svrinfosamplerate>
|
||||
<!-- Allow the server to advertise the stream on a public YP directory: -->
|
||||
<svrinfopublic>1</svrinfopublic>
|
||||
</ezstream>
|
Loading…
Reference in New Issue
Block a user