User Tools

Site Tools


docs:svx

This is an old revision of the document!


SVXLink Reflector + portal + live broadcaster

Loopback sound interfaces

To redistribute your reflector content to icecast, you'll need to set up loopback sound interfaces.

The following file will be used to create 3 loopback interfaces at boot time.

It shall be placed in /etc/modprobe.d/:

aloop.conf
options snd-aloop enable=1,1,1 index=10,11,12

Then run the following command:

echo "snd-aloop" >> /etc/modules

The code above takes care of boot time configuration. To add the interfaces without rebooting, run the following:

(lsmod | grep snd_aloop) && modprobe -r snd_aloop
modprobe snd-aloop enable=1,1,1 index=10,11,12

You need to adjust the enable and index parameters to insert additional interfaces.

Icecast

Install icecast2 from repository.

Below, you'll find the configuration file to install in /etc/icecast2/ after having changed the passwords.

icecast2.xml
<icecast>
    <location>Region Auvergne-Rhone-Alpes</location>
    <admin>icemaster@localhost</admin>
    <limits>
        <clients>100</clients>
        <sources>10</sources>
        <queue-size>524288</queue-size>
        <client-timeout>30</client-timeout>
        <header-timeout>15</header-timeout>
        <source-timeout>10</source-timeout>
        <burst-on-connect>1</burst-on-connect>
        <burst-size>65535</burst-size>
    </limits>
 
    <authentication>
        <source-password>CHANGEME</source-password>
        <relay-password>CHANGEME</relay-password>
        <admin-user>admin</admin-user>
        <admin-password>CHANGEME</admin-password>
    </authentication>
    <hostname>icecast.ham42.net</hostname>
 
    <listen-socket>
        <port>5299</port>
    </listen-socket>
 
    <listen-socket>
        <port>8080</port>
    </listen-socket>
 
    <http-headers>
        <header name="Access-Control-Allow-Origin" value="*" />
    </http-headers>
 
    <fileserve>1</fileserve>
 
    <paths>
 
        <basedir>/usr/share/icecast2</basedir>
        <logdir>/var/log/icecast2</logdir>
        <webroot>/usr/share/icecast2/web</webroot>
        <adminroot>/usr/share/icecast2/admin</adminroot>
 
        <alias source="/" destination="/status.xsl" />
    </paths>
 
    <logging>
        <accesslog>access.log</accesslog>
        <errorlog>error.log</errorlog>
 
        <loglevel>3</loglevel> 
        <logsize>10000</logsize> 
    </logging>
 
    <security>
        <chroot>0</chroot>
    </security>
</icecast>

SVXReflector

svxreflector.conf
###################################################################
#
# Configuration file for the SvxReflector SvxLink conference node
#
###################################################################
 
[GLOBAL]
#CFG_DIR=svxreflector.d
TIMESTAMP_FORMAT="%Y-%m-%dT%H:%M:%S%z"
LISTEN_PORT=5300
#SQL_TIMEOUT=600
#SQL_TIMEOUT_BLOCKTIME=60
CODECS=OPUS
 
[USERS]
#F4ZXX-1=MyPass
 
[PASSWORDS]
DefaultPassword="Change this key now."

TODO

DarkIce

TODO

MQTT

TODO

Web portal

TODO

docs/svx.1669384700.txt.gz · Last modified: 2022/11/25 14:58 by root

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki