69 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			69 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
| {
 | |
|   "srt_config": {
 | |
|     "enable": true,
 | |
|     "addr": ":6001"
 | |
|   },
 | |
|   "rtc_config": {
 | |
|     "enable": true,
 | |
|     "ice_host_nat_to_ips": [],
 | |
|     "ice_udp_mux_port": 4888,
 | |
|     "ice_tcp_mux_port": 4888
 | |
|   },
 | |
|   "http_config": {
 | |
|     "http_listen_addr": ":1290",
 | |
|     "enable_https": false,
 | |
|     "https_listen_addr": ":1233",
 | |
|     "https_cert_file": "./conf/cert.pem",
 | |
|     "https_key_file": "./conf/key.pem",
 | |
|     "ctrl_auth_whitelist": {
 | |
|       "ips": [],
 | |
|       "secrets": []
 | |
|     }
 | |
|   },
 | |
|   "httpfmp4_config": {
 | |
|     "enable": true
 | |
|   },
 | |
|   "hls_config": {
 | |
|     "enable": true
 | |
|   },
 | |
|   "hook_config": {
 | |
|     "gop_cache_num": 1,
 | |
|     "single_gop_max_frame_num": 0
 | |
|   },
 | |
|   "gb28181_config": {
 | |
|     "enable": true,
 | |
|     "serial": "34020000002000000001",
 | |
|     "realm": "3402000000",
 | |
|     "sip_ip": "192.168.254.165",
 | |
|     "sip_port": 15060,
 | |
|     "username": "",
 | |
|     "media_config": {
 | |
|       "media_ip": "192.168.254.165"
 | |
|     },
 | |
|     "quick_login": true
 | |
|   },
 | |
|   "onvif_config": {
 | |
|     "enable": true
 | |
|   },
 | |
|   "room_config": {
 | |
|     "enable": true,
 | |
|     "api_key": "lalmaxkey",
 | |
|     "api_secret": "lalmaxsecret"
 | |
|   },
 | |
|   "server_id": "1",
 | |
|   "http_notify": {
 | |
|     "enable": false,
 | |
|     "update_interval_sec": 5,
 | |
|     "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_relay_pull_start": "http://127.0.0.1:10101/on_relay_pull_start",
 | |
|     "on_relay_pull_stop": "http://127.0.0.1:10101/on_relay_pull_stop",
 | |
|     "on_rtmp_connect": "http://127.0.0.1:10101/on_rtmp_connect",
 | |
|     "on_server_start": "http://127.0.0.1:10101/on_server_start",
 | |
|     "on_hls_make_ts": "http://127.0.0.1:10101/on_hls_make_ts"
 | |
|   },
 | |
|   "lal_config_path:": "./conf/lalserver.conf.json"
 | |
| } |