0

Remove commented out code

This commit is contained in:
Gabe Kangas 2022-11-28 22:07:55 -08:00
parent 269604ec75
commit f4c2a49887

View File

@ -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.")