fix: cascade plugin

This commit is contained in:
langhuihui
2024-08-17 20:38:10 +08:00
parent 263c60ad9d
commit 5cc3fdecf9
10 changed files with 129 additions and 126 deletions
+8 -2
View File
@@ -5,5 +5,11 @@ global:
listenaddrtls: :8555
tcp:
listenaddr: :50052
console:
secret: de2c0bb9fd47684adc07a426e139239b
cascadeclient:
server: localhost:44944
pull:
enableregexp: true
pullonsub:
.*: m7s://$0
#console:
# secret: de2c0bb9fd47684adc07a426e139239b
+11 -14
View File
@@ -1,16 +1,13 @@
global:
loglevel: debug
tcp:
listenaddr: :50051
console:
secret: 00aea3af031f134d6307618b05ec4899
rtmp:
enable: false
rtsp:
enable: false
webrtc:
enable: false
flv:
pull:
pullonstart:
live/test: /Users/dexter/Movies/jb-demo.flv
disableall: true
#console:
# secret: 00aea3af031f134d6307618b05ec4899
cascadeserver:
enable: true
quic:
listenaddr: :44944
#flv:
# pull:
# pullonstart:
# live/test: /Users/dexter/Movies/jb-demo.flv
+1 -1
View File
@@ -3,7 +3,7 @@ package main
import (
"context"
"m7s.live/m7s/v5"
_ "m7s.live/m7s/v5/plugin/console"
_ "m7s.live/m7s/v5/plugin/cascade"
_ "m7s.live/m7s/v5/plugin/debug"
_ "m7s.live/m7s/v5/plugin/flv"
_ "m7s.live/m7s/v5/plugin/logrotate"