Take control over your live stream video by running it yourself. Streaming + chat out of the box.
HTML activitypubbroadcastingchatdecentralizedfederationfediversegolanghacktoberfesthlslivelivestreamowncastrtmpself-hostedstreaming-videovideo
Add additional stream + server info to stream started webhook. Closes #971
Gabe Kangasc45fc1652c48
diff --git a/core/webhooks/stream.go b/core/webhooks/stream.goindex bbbad0d0e0..4408953bd8 100644--- a/core/webhooks/stream.go+++ b/core/webhooks/stream.go@@ -1,7 +1,17 @@package webhooks-import "github.com/owncast/owncast/models"+import (+ "github.com/owncast/owncast/core/data"+ "github.com/owncast/owncast/models"+)func SendStreamStatusEvent(eventType models.EventType) {- SendEventToWebhooks(WebhookEvent{Type: eventType})+ SendEventToWebhooks(WebhookEvent{+ Type: eventType,+ EventData: map[string]interface{}{+ "name": data.GetServerName(),+ "summary": data.GetServerSummary(),+ "streamTitle": data.GetStreamTitle(),+ },+ })}