mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-03-02 04:00:54 +08:00
支持溯源方式的集群模式
This commit is contained in:
@@ -153,6 +153,16 @@ timeoutSec=10
|
||||
#keepalive hook触发间隔,单位秒,float类型
|
||||
alive_interval=10.0
|
||||
|
||||
[cluster]
|
||||
#设置源站拉流url模板, 格式跟printf类似,第一个%s指定app,第二个%s指定stream_id,
|
||||
#开启集群模式后,on_stream_not_found和on_stream_none_reader hook将无效.
|
||||
#溯源模式支持以下类型:
|
||||
#rtmp方式: rtmp://127.0.0.1:1935/%s/%s
|
||||
#rtsp方式: rtsp://127.0.0.1:554/%s/%s
|
||||
#hls方式: http://127.0.0.1:80/%s/%s/hls.m3u8
|
||||
#http-ts方式: http://127.0.0.1:80/%s/%s.live.ts
|
||||
origin_url=
|
||||
|
||||
[http]
|
||||
#http服务器字符编码,windows上默认gb2312
|
||||
charSet=utf-8
|
||||
|
||||
Reference in New Issue
Block a user