Take control over your live stream video by running it yourself. Streaming + chat out of the box.
HTML activitypubbroadcastingchatdecentralizedfederationfediversegolanghacktoberfesthlslivelivestreamowncastrtmpself-hostedstreaming-videovideo
package inbox
import (
"context"
"github.com/owncast/owncast/models"
"github.com/owncast/owncast/services/dispatcher"
)
func (s *Service) publishFediverseEvent(ctx context.Context, eventType models.EventType, payload any) {
if s.events == nil {
return
}
s.events.Publish(ctx, dispatcher.Event{Type: eventType, Payload: payload})
}