You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lal/conf/node2.conf.json

63 lines
1.3 KiB
JSON

{
"# 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
}
}