From 6e871716d5f77914aef0292c66d82d877482227c Mon Sep 17 00:00:00 2001 From: jinhuan11 Date: Wed, 18 Jun 2025 16:32:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E9=BB=98=E8=AE=A4=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fmsgateway_127.0.0.1/FMSGatewayCore/Configuration.json | 4 ++++ fmsgateway_127.0.0.1/MediaCenter/c_api.ini | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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录制