Skip to content

Commit

Permalink
Proxy Mist triggers from catalyst to catalyst-api and remove dynamic …
Browse files Browse the repository at this point in the history
…Mist Trigger Setup
  • Loading branch information
leszko committed Aug 21, 2024
1 parent 861f99c commit d36924e
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions handlers/misttriggers/trigger_broker.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,17 +72,6 @@ type triggerBroker struct {
streamSourceFuncs funcGroup[StreamSourcePayload]
}

var triggers = map[string]bool{
TRIGGER_PUSH_END: false,
TRIGGER_PUSH_OUT_START: true,
TRIGGER_PUSH_REWRITE: true,
TRIGGER_STREAM_BUFFER: false,
TRIGGER_LIVE_TRACK_LIST: false,
TRIGGER_USER_NEW: true,
TRIGGER_USER_END: false,
TRIGGER_STREAM_SOURCE: true,
}

func (b *triggerBroker) OnStreamBuffer(cb func(context.Context, *StreamBufferPayload) error) {
b.streamBufferFuncs.RegisterNoResponse(cb)
}
Expand Down

0 comments on commit d36924e

Please sign in to comment.