forked from q191201771/lal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnode2.conf.json
62 lines (61 loc) · 1.31 KB
/
node2.conf.json
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
{
"# doc of config": "https://pengrl.com/lal/#/ConfigBrief",
"conf_version": "v0.1.2",
"rtmp": {
"enable": true,
"addr": ":1955",
"gop_num": 2
},
"httpflv": {
"enable": true,
"sub_listen_addr": ":8280",
"enable_https": false,
"gop_num": 2
},
"hls": {
"enable": false
},
"httpts": {
"enable": false
},
"rtsp": {
"enable": false
},
"record": {
"enable_flv": false,
"enable_mpegts": false
},
"relay_push": {
"enable": false
},
"relay_pull": {
"enable": false
},
"http_api": {
"enable": true,
"addr": ":8283"
},
"server_id": "2",
"http_notify": {
"enable": true,
"update_interval_sec": 5,
"on_server_start": "http://127.0.0.1:10101/on_server_start",
"on_update": "http://127.0.0.1:10101/on_update",
"on_pub_start": "http://127.0.0.1:10101/on_pub_start",
"on_pub_stop": "http://127.0.0.1:10101/on_pub_stop",
"on_sub_start": "http://127.0.0.1:10101/on_sub_start",
"on_sub_stop": "http://127.0.0.1:10101/on_sub_stop",
"on_rtmp_connect": "http://127.0.0.1:10101/on_rtmp_connect"
},
"pprof": {
"enable": false
},
"log": {
"level": 1,
"filename": "./logs/lalserver2.log",
"is_to_stdout": true,
"is_rotate_daily": true,
"short_file_flag": true,
"assert_behavior": 1
}
}