From f4c2a498876ba5560eed3a61949974add1bb3341 Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Mon, 28 Nov 2022 22:07:55 -0800 Subject: [PATCH] Remove commented out code --- core/rtmp/rtmp.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/core/rtmp/rtmp.go b/core/rtmp/rtmp.go index 35214a400..06164c919 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.")