You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
1.1 KiB

2 years ago
# 支持零配置启动,即无需填写配置默认启用所有的插件。
# 只需要填写需要修改的配置项即可。不需要将所有的配置都填写进来!!。
# 全局配置参考 https://m7s.live/guide/config.html
# 插件配置参考各个插件的文档
# 插件都有一个enable配置,如果为false则不启用该插件,默认为true即不需要配置。
# global:
# console:
# secret: "ab0f6913670062af4d2f15c621205178"
# http:
# listenaddrtls: :8081
# certfile: monibuca.com.pem
# keyfile: monibuca.com.key
webrtc:
iceservers: [ ]
publicip: [ '192.168.1.119' ] # 可以是数组也可以是字符串(内部自动转成数组)
portmin: 10000
portmax: 20000
inviteportfixed: false # 设备将流发送的端口,是否固定 on 发送流到多路复用端口 如9000 off 自动从 mix_port - max_port 之间的值中 选一个可以用的端口
iceudpmux: 9000 # 接收设备端rtp流的多路复用端口
pli: 2000000000 # 2s
hls:
fragment: 3s # TS分片长度
window: 3 # 实时流m3u8文件包含的TS文件数