Skip to content

Instantly share code, notes, and snippets.

@NickBouwhuis
Created October 24, 2020 11:51
Show Gist options
  • Save NickBouwhuis/01013d66a2e7933e3f8b81579e07d53c to your computer and use it in GitHub Desktop.
Save NickBouwhuis/01013d66a2e7933e3f8b81579e07d53c to your computer and use it in GitHub Desktop.
general {
dabmode 1
nbframes 0
tist true
}
remotecontrol { telnetport 0 }
ensemble {
id 0x4fff ; you can also use decimal if you want
ecc 0xe1 ; Extended Country Code
local-time-offset auto
international-table 5
label "OpenDigitalRadio"
shortlabel "ODR"
fig2_label "ÓpêñÐigıtålRadiō"
}
services {
srv-p1 { label "Test1" }
srv-p2 { label "Test2" }
srv-p3 { label "Test3" }
}
subchannels {
sub-p1 {
; MPEG
type dabplus
bitrate 120
id 1
protection 3
inputfile "tcp://*:9001"
zmq-buffer 40
zmq-prebuffering 20
}
sub-p2 {
; MPEG
type dabplus
bitrate 120
id 2
protection 3
inputfile "tcp://*:9002"
zmq-buffer 40
zmq-prebuffering 20
}
sub-p3 {
; MPEG
type dabplus
bitrate 120
id 3
protection 3
inputfile "tcp://*:9003"
zmq-buffer 40
zmq-prebuffering 20
}
}
components {
comp-p1 {
label Test1
service srv-p1
subchannel sub-p1
}
comp-p2 {
label Test2
service srv-p2
subchannel sub-p2
}
comp-p3 {
label Test3
service srv-p3
subchannel sub-p3
}
}
outputs {
zeromq {
; Listen on all interfaces, on port 9100
endpoint "tcp://*:9100"
allowmetadata true
}
throttle "simul://"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment