[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Debconf-video] howto setup video relays for debconf6



Hi,

just in time, we set up the streaming from debconf6. Hopefully it will work 
tomorrow and the following week... ;-)

You need to install icecast2, we provide icecast2 backports for sarge for i386 
and amd64 at http://layer-acht.org/dc6video/ - please tell us if you need 
other archs.

Attached are two files, the file icecast2 needs to be copied to /etc/default/, 
the file icecast.xml needs to be copied to /etc/icecast2/ - then you can just 
start icecast2 by running "/etc/init.d/icecast2 start". 

You need to open your firewall on port 8000 incoming and outgoing _TCP_.

Then please send us a reply "ok", otherwise your IP will not be added to 
*.video.debconf.org DNS. Thanks.

The schedule for the talks are availabe at www.debconf.org - have fun watching 
us in Oaxtepec :-) (If everything works... :)


regards,
	Ben Hutchings
	Holger Levsen
<icecast>
    <limits>
        <clients>1000</clients>
        <sources>2</sources>
        <threadpool>10</threadpool>
        <queue-size>524288</queue-size>
        <client-timeout>30</client-timeout>
        <header-timeout>15</header-timeout>
        <source-timeout>60</source-timeout>
        <!-- If enabled, this will provide a burst of data when a client 
             first connects, thereby significantly reducing the startup 
             time for listeners that do substantial buffering. However,
             it also significantly increases latency between the source
             client and listening client.  For low-latency setups, you
             might want to disable this. -->
        <burst-on-connect>1</burst-on-connect>
    </limits>

    <authentication>
        <!-- Sources log in with username 'source' -->
        <source-password>ohqu5Goo</source-password>
        <!-- Relays log in username 'relay' -->
        <relay-password>ooCho9pa</relay-password>

        <!-- Admin logs in with the username given below -->
        <admin-user>admin</admin-user>
        <admin-password>aezuS2su</admin-password>
    </authentication>

    <!-- This is the hostname other people will use to connect to your server.
    It affects mainly the urls generated by Icecast for playlists and yp
    listings. -->
    <hostname>video.debconf.org</hostname>

    <listen-socket>
        <port>8000</port>
        <!-- <bind-address>127.0.0.1</bind-address> -->
    </listen-socket>

    <relay>
        <server>master.video.debconf.org</server>
        <port>8000</port>
        <mount>/hacklab.ogg</mount>
        <local-mount>/hacklab.ogg</local-mount>
        <on-demand>0</on-demand>

        <relay-shoutcast-metadata>0</relay-shoutcast-metadata>
    </relay>

    <relay>
        <server>master.video.debconf.org</server>
        <port>8000</port>
        <mount>/tower.ogg</mount>
        <local-mount>/tower.ogg</local-mount>
        <on-demand>0</on-demand>

        <relay-shoutcast-metadata>0</relay-shoutcast-metadata>
    </relay>

    <fileserve>0</fileserve>

    <paths>
		<!-- basedir is only used if chroot is enabled -->
        <basedir>/usr/share/icecast2</basedir>

        <!-- Note that if <chroot> is turned on below, these paths must both
             be relative to the new root, not the original root -->
        <logdir>/var/log/icecast2</logdir>
        <webroot>/usr/share/icecast2/web</webroot>
        <adminroot>/usr/share/icecast2/admin</adminroot>
        <!-- <pidfile>/usr/share/icecast2/icecast.pid</pidfile> -->

        <!-- Aliases: treat requests for 'source' path as being for 'dest' path
             May be made specific to a port or bound address using the "port"
             and "bind-address" attributes.
          -->
        <!--
        <alias source="/foo" dest="/bar"/>
          -->
        <!-- Aliases: can also be used for simple redirections as well,
             this example will redirect all requests for http://server:port/ to
             the status page
          -->
        <alias source="/" dest="/status.xsl"/>
    </paths>

    <logging>
        <accesslog>access.log</accesslog>
        <errorlog>error.log</errorlog>
        <!-- <playlistlog>playlist.log</playlistlog> -->
      	<loglevel>3</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
      	<logsize>10000</logsize> <!-- Max size of a logfile -->
        <!-- If logarchive is enabled (1), then when logsize is reached
             the logfile will be moved to [error|access|playlist].log.DATESTAMP,
             otherwise it will be moved to [error|access|playlist].log.old.
             Default is non-archive mode (i.e. overwrite)
        -->
        <!-- <logarchive>1</logarchive> -->
    </logging>

    <security>
        <chroot>0</chroot>
        <!--
        <changeowner>
            <user>nobody</user>
            <group>nogroup</group>
        </changeowner>
        -->
    </security>
</icecast>
# Defaults for icecast2 initscript
# sourced by /etc/init.d/icecast2
# installed at /etc/default/icecast2 by the maintainer scripts

#
# This is a POSIX shell fragment
#

# Full path to the server configuration file
CONFIGFILE="/etc/icecast2/icecast.xml"

# Name or ID of the user and group the daemon should run under
USERID=icecast2
GROUPID=icecast

# Edit /etc/icecast2/icecast.xml and change at least the passwords.
# Change this to true when done to enable the init.d script
ENABLE=true

Attachment: pgpINf1uHU_Rm.pgp
Description: PGP signature


Reply to: