aboutsummaryrefslogtreecommitdiffstats
path: root/edi-test.mux
blob: 6f31f3a40213ad68499239dd21ed7f193fe39219 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
general {
    ; the DAB Transmission mode (values 1-4 accepted)
    dabmode 1

    ; the number of ETI frames to generate (set to 0 to get an unlimited number)
    nbframes 0

    ; The statsserver for extracting statistics
    statsserverport 12720

    syslog false
    writescca false
    tist false
}

remotecontrol {
    ; enable the remote control server
    telnetport 12721
}

; Some ensemble parameters
ensemble {
    id 20479
    ; Extended Country Code (decimal)
    ecc 225

    local-time-offset 2
    international-table 1
    label "TuxMux"
    shortlabel "Tux"
}

services {
    funk {
        label "funk"
        shortlabel "funk"
        pty 0
        language 0
        id 10
    }

    funk2 {
        label "funk2"
        shortlabel "funk2"
        pty 0
        language 0
        id 11
    }
    funk3 {
        label "funk3"
        shortlabel "funk3"
        pty 1
        language 0
        id 12
    }

}

subchannels {
    funk {
        type audio
        inputfile "funk.mp2"
        nonblock false
        bitrate 128
        id 10
        protection 5
    }

    funk2 {
        type dabplus
        inputfile "funk2.dabp"
        nonblock false
        bitrate 96
        id 11
        protection 3
    }

    funk3 {
        type audio
        inputfile "funk.mp2"
        nonblock false
        bitrate 128
        id 12
        protection 3
    }
}

; For now, each component links one service to one subchannel
components {
    ; the component unique identifiers are not used anywhere, but
    ; are useful to disambiguate different components.
    funky {
        label funk
        shortlabel fu
        service funk
        subchannel funk
    }

    funky2 {
        label funk2
        shortlabel funk2
        service funk2
        subchannel funk2
    }

    funky3 {
        label funk3
        shortlabel funk3
        service funk3
        subchannel funk3
    }
}

; A list of outputs, in the format
; unique_id "uri"
outputs {
    ;foobar "fifo:///home/bram/dab/mmbtools-aux/eti/funk2.10000.eti?type=raw"
    simul "simul://"
    null "fifo:///dev/null"

    ; ZeroMQ output example
    ; zmq  "zmq+tcp://*:8080"

    edi {

        fec         2
        ;chunk_len   140

        destinations {
            unicast {
                destination "127.0.0.1"
                ;destination "239.20.64.1"
                source      "127.0.0.1"
                sourceport  15321
            }
           ;un_autre {
           ;    destination "239.20.64.1"
           ;    source      "10.31.0.121"
           ;    sourceport  15322
           ;    ttl         2
           ;}
        }

        port        12002

        ; EDI uses the UDP protocol

        ; Enable the PFT subsystem. If false, AFPackets are sent.
        enable_pft  true
        interleave  960

        ; Save the packets sent over ethernet to the file ./edi.debug
        dump        false

        ; show more debugging info
        verbose     false

        ; optional: what kind of alignment to do in the tagpacket
        tagpacket_alignment 16
    }

}