diff --git a/fmsgateway_127.0.0.1/FMSGatewayCore/Configuration.json b/fmsgateway_127.0.0.1/FMSGatewayCore/Configuration.json index 2e6cf4c..31a15c5 100644 --- a/fmsgateway_127.0.0.1/FMSGatewayCore/Configuration.json +++ b/fmsgateway_127.0.0.1/FMSGatewayCore/Configuration.json @@ -11,6 +11,10 @@ "shell_port-comment": 0, "save_dir_path": "/home/yunentech/work/images/" }, + "RandomStreamIdManager": { + "use_random_streamid-comment": "是否启用随机流id管理, false则使用相机id作为流id", + "use_random_streamid": false + }, "VideoUrlRule": { "hls": "http://%1:9556/yunen/%2/hls.m3u8", "rtmp": "rtmp://%1:1935/yunen/%2", diff --git a/fmsgateway_127.0.0.1/MediaCenter/c_api.ini b/fmsgateway_127.0.0.1/MediaCenter/c_api.ini index 98d8deb..d2b61e9 100644 --- a/fmsgateway_127.0.0.1/MediaCenter/c_api.ini +++ b/fmsgateway_127.0.0.1/MediaCenter/c_api.ini @@ -57,7 +57,7 @@ continue_push_ms=15000 paced_sender_ms=0 #是否开启转换为hls(mpegts) -enable_hls=0 +enable_hls=1 #是否开启转换为hls(fmp4) enable_hls_fmp4=0 #是否开启MP4录制