mirror of
https://github.com/langhuihui/monibuca.git
synced 2025-12-24 13:48:04 +08:00
feat: add subscriber type
This commit is contained in:
@@ -69,8 +69,9 @@ func (r *DefaultTransformer) GetTransformJob() *TransformJob {
|
||||
|
||||
func (p *TransformJob) Subscribe() (err error) {
|
||||
p.Subscriber, err = p.Plugin.Subscribe(p.Transformer, p.StreamPath)
|
||||
p.Subscriber.Type = SubscribeTypeTransform
|
||||
if err == nil {
|
||||
p.Subscriber.Internal = true
|
||||
p.Subscriber.Type = SubscribeTypeTransform
|
||||
p.Transformer.Depend(p.Subscriber)
|
||||
}
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user