Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

Remove commented out code

Gabe Kangas51211a8423c3
diff --git a/core/rtmp/rtmp.go b/core/rtmp/rtmp.go
index 35214a400f..06164c9192 100644
--- a/core/rtmp/rtmp.go
+++ b/core/rtmp/rtmp.go
@@ -99,12 +99,6 @@ func HandleConn(c *rtmp.Conn, nc net.Conn) {
return
}
- // if !secretMatch(data.GetAdminPassword(), c.URL.Path) {
- // log.Errorln("invalid streaming key; rejecting incoming stream")
- // _ = nc.Close()
- // return
- // }
-
rtmpOut, rtmpIn := io.Pipe()
_pipe = rtmpIn
log.Infoln("Inbound stream connected.")