Take control over your live stream video by running it yourself. Streaming + chat out of the box.
HTML activitypubbroadcastingchatdecentralizedfederationfediversegolanghacktoberfesthlslivelivestreamowncastrtmpself-hostedstreaming-videovideo
Force origin test to always pass. Closes #2003
Gabe Kangas075ec631ae62
diff --git a/core/chat/chatclient.go b/core/chat/chatclient.goindex fdcd77e382..3e02e71589 100644--- a/core/chat/chatclient.go+++ b/core/chat/chatclient.go@@ -3,6 +3,7 @@ package chatimport ("bytes""encoding/json"+ "net/http""sync""time"@@ -60,6 +61,12 @@ const (var upgrader = websocket.Upgrader{ReadBufferSize: 1024,WriteBufferSize: 1024,++ // Override default origin check to allow all clients, even those that+ // do not match our server.+ CheckOrigin: func(r *http.Request) bool {+ return true+ },}var (