services:svxreflector
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
services:svxreflector [2024/08/17 15:00] – [Configuration du client SVXLink] f4hof | services:svxreflector [2024/09/07 15:47] (current) – [Configuration d'Icecast] f4hof | ||
---|---|---|---|
Line 383: | Line 383: | ||
< | < | ||
< | < | ||
- | < | + | < |
< | < | ||
</ | </ | ||
Line 538: | Line 538: | ||
==== Configuration de Darkice ==== | ==== Configuration de Darkice ==== | ||
+ | Editer votre fichier ''/ | ||
+ | < | ||
+ | 127.0.0.1 localhost icecast.example.com | ||
+ | </ | ||
+ | Dans le dossier ''/ | ||
+ | <code ini my-reflector.cfg> | ||
+ | [general] | ||
+ | duration | ||
+ | bufferSecs | ||
+ | reconnect | ||
+ | realtime | ||
+ | rtpio = 3 | ||
+ | |||
+ | |||
+ | [input] | ||
+ | device | ||
+ | sampleRate | ||
+ | bitsPerSample | ||
+ | channel | ||
+ | |||
+ | |||
+ | [icecast2-0] | ||
+ | bitrateMode | ||
+ | format | ||
+ | bitrate | ||
+ | # | ||
+ | channel | ||
+ | lowpass | ||
+ | highpass | ||
+ | server | ||
+ | port = 5299 # port of the IceCast2 server, usually 8000 | ||
+ | password | ||
+ | mountPoint | ||
+ | name = Reflecteur-ARA # name of the stream | ||
+ | description | ||
+ | url = http:// | ||
+ | genre = Ham Radio , Radioamateur | ||
+ | public | ||
+ | |||
+ | </ | ||
+ | |||
+ | Fichier d' | ||
+ | |||
+ | <code ini darkice@.service> | ||
+ | [Unit] | ||
+ | Description=Darkice server for room %I | ||
+ | Documentation=man: | ||
+ | After=network.target time.target sound.target icecast2.service | ||
+ | |||
+ | [Service] | ||
+ | Type=simple | ||
+ | User=svxlink | ||
+ | Group=svxlink | ||
+ | EnvironmentFile=-/ | ||
+ | Environment=CFGFILE=/ | ||
+ | # | ||
+ | ExecStart=/ | ||
+ | ExecStop=/ | ||
+ | Restart=on-failure | ||
+ | TimeoutStartSec=60 | ||
+ | |||
+ | [Install] | ||
+ | WantedBy=multi-user.target | ||
+ | |||
+ | </ | ||
+ | |||
+ | Lancer la commande suivante en tant que root pour rafraîchir la config de systemd | ||
+ | |||
+ | <code bash> | ||
+ | |||
+ | Ensuite, activer votre instance nommée de darkice pour qu' | ||
+ | <code bash> | ||
+ | systemctl start darkice@my-reflector | ||
+ | </ | ||
+ | Répéter cette opération pour l' | ||
services/svxreflector.1723906814.txt.gz · Last modified: 2024/08/17 15:00 by f4hof