Files
monibuca/example/default/config.yaml
2024-12-26 20:14:31 +08:00

60 lines
1.5 KiB
YAML

global:
loglevel: debug
enablelogin: true
# db:
# dbtype: mysql
# dsn: root:Monibuca#!4@tcp(sh-cynosdbmysql-grp-kxt43lv6.sql.tencentcdb.com:28520)/lkm7s_v5?parseTime=true
srt:
listenaddr: :6000
passphrase: foobarfoobar
gb28181:
enable: false
autoinvite: true
sip:
listenaddr:
- udp::5060
# pull:
# live/test: dump/34020000001320000001
onsub:
pull:
.* : $0
mp4:
publish:
delayclosetimeout: 3s
onsub:
pull:
^vod/(.+)$: $1
cascadeserver:
quic:
listenaddr: :44944
# llhls:
# onpub:
# transform:
# .* : 1s x 7
# flv:
# pull:
# live/test: https://livecb.alicdn.com/mediaplatform/afb241b3-408c-42dd-b665-04d22b64f9df.flv?auth_key=1734575216-0-0-c62721303ce751c8e5b2c95a2ec242a0&F=pc&source=34675810_null_live_detail&ali_flv_retain=2
# hls:
# onpub:
# transform:
# .* : 5s x 3
#rtsp:
# pull:
# live/test: rtsp://admin:1qaz2wsx3EDC@giroro.tpddns.cn:1554/Streaming/Channels/101
# live/test: rtsp://admin:1qaz2wsx3EDC@localhost:8554/live/test
snap:
enabled: false
snapwatermark:
text: "Monibuca"
fontpath: "/System/Library/Fonts/STHeiti Light.ttc" # mac字体路径
# fontpath: "/usr/share/fonts/opentype/noto/NotoSansCJK-Regular.ttc" # linux字体路径 思源黑体
# fontpath: "C:/Windows/Fonts/msyh.ttf" # windows字体路径 微软雅黑
fontsize: 36
fontcolor: "rgba(255,165,0,1)"
offsetx: 10
offsety: 10
snapinterval: 1s
snapsavepath: "./snaps"
filter: "^live/.*"