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 14:50] – [Ajout des interfaces de bouclage] f4hof | services:svxreflector [2024/09/07 15:47] (current) – [Configuration d'Icecast] f4hof | ||
|---|---|---|---|
| Line 383: | Line 383: | ||
| < | < | ||
| < | < | ||
| - | < | + | < |
| < | < | ||
| </ | </ | ||
| Line 475: | Line 475: | ||
| <code bash> | <code bash> | ||
| - | ==== Configuration | + | ==== Configuration |
| + | |||
| + | Un client SVXLink | ||
| + | |||
| + | Reprendre le patron de configuration suivant, et changer le contenu de ces champs: | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | |||
| + | <code ini> | ||
| + | ############################################################################### | ||
| + | # # | ||
| + | # Configuration file for the SvxLink client | ||
| + | # # | ||
| + | ############################################################################### | ||
| + | |||
| + | [GLOBAL] | ||
| + | LOGICS=SimplexLogic, | ||
| + | CFG_DIR=svxlink.d | ||
| + | TIMESTAMP_FORMAT=" | ||
| + | CARD_SAMPLE_RATE=48000 | ||
| + | LINKS=ALLlink | ||
| + | |||
| + | [SimplexLogic] | ||
| + | TYPE=Simplex | ||
| + | RX=NONE | ||
| + | TX=TxStream | ||
| + | CALLSIGN=ICECAST | ||
| + | EVENT_HANDLER=/ | ||
| + | DEFAULT_LANG=en_US | ||
| + | |||
| + | [ReflectorLogic] | ||
| + | TYPE=Reflector | ||
| + | HOST=127.0.0.1 | ||
| + | PORT=5310 | ||
| + | CALLSIGN=" | ||
| + | AUTH_KEY=" | ||
| + | AUDIO_CODEC=OPUS | ||
| + | EVENT_HANDLER=/ | ||
| + | |||
| + | [ALLlink] | ||
| + | CONNECT_LOGICS=SimplexLogic: | ||
| + | DEFAULT_ACTIVE=1 | ||
| + | TIMEOUT=0 | ||
| + | |||
| + | [TxStream] | ||
| + | TYPE=Local | ||
| + | AUDIO_DEV=alsa: | ||
| + | AUDIO_CHANNEL=0 | ||
| + | PTT_TYPE=NONE | ||
| + | TIMEOUT=7200 | ||
| + | TX_DELAY=0 | ||
| + | PREEMPHASIS=0 | ||
| + | </ | ||
| + | |||
| + | Sauver le résultat modifié dans ''/ | ||
| + | |||
| ==== 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.1723906258.txt.gz · Last modified: 2024/08/17 14:50 by f4hof
