mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-07-06 19:58:10 +08:00
Updated ZLMediaKit支持的事件http api (markdown)
@@ -3,7 +3,6 @@ ZLMediaKit可以把内部的一些事件通过调用第三方http服务器api的
|
||||
```ini
|
||||
[hook]
|
||||
enable=1
|
||||
access_file_except_hls=1
|
||||
admin_params=secret=035c73f7-bb6b-4889-a715-d9eb2d1925cc
|
||||
timeoutSec=10
|
||||
|
||||
@@ -24,10 +23,6 @@ on_stream_not_found=https://127.0.0.1/index/hook/on_stream_not_found
|
||||
|
||||
是否开启http hook,如果选择关闭,ZLMediaKit将采取默认动作(例如不鉴权等)
|
||||
|
||||
- **access_file_except_hls**:
|
||||
|
||||
能否访问hls之外的文件;如果关闭,那么只能访问http文件服务器下hls相关的文件,这样ZLMediaKit的http服务器只能作为hls文件服务器以及http api服务器,不能再作为通用的http文件服务器。
|
||||
|
||||
- **timeoutSec**:
|
||||
|
||||
事件触发http客户端超时时间。
|
||||
|
||||
Reference in New Issue
Block a user