From c2b9bfe6249c204ddcc72a228342927375b7baeb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=8F=E6=A5=9A?= <771730766@qq.com> Date: Sat, 8 Jul 2023 21:45:31 +0800 Subject: [PATCH] =?UTF-8?q?on=5Fpublish=20=E6=96=B0=E5=A2=9E=E6=94=AF?= =?UTF-8?q?=E6=8C=81enable=5Fhls=5Ffmp4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- MediaServer支持的HTTP-HOOK-API.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/MediaServer支持的HTTP-HOOK-API.md b/MediaServer支持的HTTP-HOOK-API.md index cac3fcf..3800d04 100644 --- a/MediaServer支持的HTTP-HOOK-API.md +++ b/MediaServer支持的HTTP-HOOK-API.md @@ -345,6 +345,7 @@ on_rtp_server_timeout=https://127.0.0.1/index/hook/on_rtp_server_timeout "enable_audio" : true, "enable_fmp4" : true, "enable_hls" : true, + "enable_hls_fmp4" : false, "enable_mp4" : false, "enable_rtmp" : true, "enable_rtsp" : true, @@ -366,7 +367,8 @@ on_rtp_server_timeout=https://127.0.0.1/index/hook/on_rtp_server_timeout | :--------------: | :------: | :---------------------------------: | :------: | | `code` | `int` | 错误代码,0代表允许推流 | Y | | `msg` | `string` | 不允许推流时的错误提示 | Y | - | `enable_hls` | `bool` | 是否转换成hls协议 | N | + | `enable_hls` | `bool` | 是否转换成hls-mpegts协议 | N | + | `enable_hls_fmp4` | `bool` | 是否转换成hls-fmp4协议 | N | | `enable_mp4` | `bool` | 是否允许mp4录制 | N | | `enable_rtsp` | `bool` | 是否转rtsp协议 | N | | `enable_rtmp` | `bool` | 是否转rtmp/flv协议 | N |