-
Notifications
You must be signed in to change notification settings - Fork 0
/
config_example.js
98 lines (91 loc) · 3.16 KB
/
config_example.js
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
/* Configuration du TABLEAU DE BORD RRF */
/* Port du serveur */
const PORT = 443;
/* Liste et paramètres des salons */
const SALONS = [
{name: "RRF",
file: "",
url: "http://rrf.f5nlg.ovh",
api:"/api/svxlink/RRF",
stream:"/realtime/RRF",
audioUrl:"http://rrf2.f5nlg.ovh:8000",
audioStream:"/stream"
},
{name: "technique",
file: "",
url:"http://rrf.f5nlg.ovh",
api: "/api/svxlink/technique",
stream:"/realtime/technique",
audioUrl:"http://rrf2.f5nlg.ovh:8000",
audioStream:"/technique"
},
{name: "bavardage",
file: "",
url: "http://fon.f1tzo.com:8080",
api: "/api/svxlink/bavardage",
stream: "/realtime/bavardage",
audioUrl: "http://rrf2.f5nlg.ovh:8000",
audioStream: "/bavardage"
},
{name: "local",
file: "",
url: "http://fon.f1tzo.com:8080",
api: "/api/svxlink/local",
stream: "/realtime/local",
audioUrl: "http://rrf2.f5nlg.ovh:8000",
audioStream: "/local"
},
{name: "satellite",
file: "",
url:"http://rrf2.f5nlg.ovh:8080",
api: "/api/svxlink/satellite",
stream:"/realtime/satellite",
audioUrl:"http://rrf2.f5nlg.ovh:8000",
audioStream:"/satellite"
},
{name: "FON",
file: "",
url: "http://localhost:8008",
api: "api/svxlink/FON",
stream: "/realtime/FON",
audioUrl: "http://f1tzo.com:8000",
audioStream: "/stream"
}
];
/* Liste et paramètres des cartes utilisées dans la vue "Carte" */
const CARTO = [
{name: "jawg-streets",
url: "https://tile.jawg.io/jawg-streets/{z}/{x}/{y}.png?access-token=2WFyabqzwhtc4oCYGid2R8ftFUKJy0evKTXaJ7n0xa7182LmkLehTy1atz2TKjju",
accessKey: "",
attribution: '© F1EVM - <a href="https://www.jawg.io" target="_blank">© Jawg</a> - <a href="https://www.openstreetmap.org" target="_blank">© OpenStreetMap</a> contributors'
},
{name: "osm.ArcGIS",
url: "https://server.arcgisonline.com/ArcGIS/rest/services/Specialty/DeLorme_World_Base_Map/MapServer/tile/{z}/{y}/{x}",
accessKey: "",
attribution: '© F1EVM - © <a href="http://osm.org/copyright" target="_blank">OpenStreetMap</a> contributors'
},
{name: "osm.Mapnik",
url: "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",
accessKey: "",
attribution: '© F1EVM - © <a href="http://osm.org/copyright" target="_blank">OpenStreetMap</a> contributors'
},
{name: "osm.BlackAndWhite",
url: "https://tiles.wmflabs.org/bw-mapnik/{z}/{x}/{y}.png",
accessKey: "",
attribution: '© F1EVM - © <a href="http://osm.org/copyright" target="_blank">OpenStreetMap</a> contributors'
}
];
/* Liste des événements */
/* Ne pas modifier - Réservé au développement */
const EVENTS = [
'ReflectorLogic.MsgNodeList',
'ReflectorLogic.MsgNodeLeft',
'ReflectorLogic.MsgNodeJoined',
'ReflectorLogic.MsgTalkerStart',
'ReflectorLogic.MsgTalkerStop',
'spotnik.network'
];
module.exports.PORT=PORT;
module.exports.SALONS=SALONS;
module.exports.CARTO=CARTO;
module.exports.EVENTS=EVENTS;