Remotetrxudiotransfer - sm0svx/svxlink GitHub Wiki

Configuration to transfer audio with remotetrx

This configuration can be used to transfer audio between two QTHs with RemoteTrx. It is the simplest possible configuration. No squelch and no PTT. Only continuous audio transfer.

Remote side

Create a remotetrx.conf configuration file for the remote side. You can place it anywhere you want but the standard place is ~/.svxlink/remotetrx.conf or /etc/svxlink/remotetrx.conf. If you place it anywhere else you need to point the file out using the --config command line option. The contents should be the following.

[GLOBAL]
TRXS=NetUplinkTrx
TIMESTAMP_FORMAT="%c"
CARD_SAMPLE_RATE=48000

[NetUplinkTrx]
TYPE=Net
RX=Rx1
TX=Tx1
LISTEN_PORT=5210
AUTH_KEY="Change this key now!"

[Rx1]
TYPE=Local
AUDIO_DEV=alsa:plughw:0
AUDIO_CHANNEL=0
SQL_DET=OPEN
PEAK_METER=1

[Tx1]
TYPE=Local
AUDIO_DEV=alsa:plughw:0
AUDIO_CHANNEL=0
PTT_TYPE=NONE

Create a remotetrx.conf configuration file for the local side. You can place it anywhere you want but the standard place is ~/.svxlink/remotetrx.conf or /etc/svxlink/remotetrx.conf. If you place it anywhere else you need to point the file out using the --config command line option. The contents should be the following.

Local side

[GLOBAL]
TRXS=RfUplinkTrx
TIMESTAMP_FORMAT="%c"
CARD_SAMPLE_RATE=48000

[RfUplinkTrx]
TYPE=RF
RX=NetRx1
TX=NetTx1
UPLINK_TX=UplinkTx
UPLINK_RX=UplinkRx

[NetRx1]
TYPE=Net
HOST=remotehost.example.com
CODEC=OPUS
AUTH_KEY="Change this key now!"

[NetTx1]
TYPE=Net
HOST=localhost
CODEC=OPUS
AUTH_KEY="Change this key now!"

[UplinkRx]
TYPE=Local
AUDIO_DEV=alsa:plughw:0
AUDIO_CHANNEL=0
SQL_DET=OPEN

[UplinkTx]
TYPE=Local
AUDIO_DEV=alsa:plughw:0
AUDIO_CHANNEL=0
PTT_TYPE=NONE

To use PTT and squelch, have a look in the svxlink.conf manual page how to set that up. A lot of help can also be found in the default remotetrx.conf configuration file.

Running it

Now just start remotetrx on both sides using.

remotetrx --config /path/to/remotetrx.conf

You may leave out the --config option if you have placed the remotetrx.conf configuration file in any of the default locations, ~/.svxlink/remotetrx.conf or /etc/svxlink/remotetrx.conf.

⚠️ **GitHub.com Fallback** ⚠️