-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy pathdemo.config.js
More file actions
67 lines (66 loc) · 1.6 KB
/
demo.config.js
File metadata and controls
67 lines (66 loc) · 1.6 KB
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
const config = {
address: "0.0.0.0",
port: 8080,
basePath: "/",
ipWhitelist: [],
language: "eo",
logLevel: ["INFO", "LOG", "WARN", "ERROR", "DEBUG"],
modules: [
{
module: "clock",
position: "top_left"
},
{
module: "MMM-RTSPStream",
position: "middle_center",
config: {
autoStart: true,
rotateStreams: true,
rotateStreamTimeout: 10,
moduleWidth: 354,
moduleHeight: 240,
localPlayer: "webrtc",
remotePlayer: "none",
showSnapWhenPaused: true,
remoteSnaps: true,
shutdownDelay: 12,
stream1: {
name: "Test Stream",
url: "rtsp://localhost:8554/test",
whepUrl: "http://localhost:8889/test/whep",
width: 640,
height: 480,
muted: true
}
}
},
{
disabled: true,
module: "MMM-RTSPStream",
position: "bottom_left",
config: {
autoStart: true,
rotateStreams: true,
rotateStreamTimeout: 10,
moduleWidth: 354,
moduleHeight: 240,
localPlayer: "vlc",
remotePlayer: "none",
showSnapWhenPaused: true,
remoteSnaps: true,
shutdownDelay: 12,
stream1: {
name: "",
url: "http://202.245.13.81/cgi-bin/camera?resolution=640&quality=1&Language=0&COUNTER",
width: undefined,
height: undefined,
muted: true
}
}
}
]
};
/** ************* DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {
module.exports = config;
}