mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-07-08 23:10:04 +08:00
on_publish 新增支持enable_hls_fmp4
@@ -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 |
|
||||
|
||||
Reference in New Issue
Block a user