Remove commented out code
This commit is contained in:
parent
269604ec75
commit
f4c2a49887
@ -99,12 +99,6 @@ func HandleConn(c *rtmp.Conn, nc net.Conn) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
// if !secretMatch(data.GetAdminPassword(), c.URL.Path) {
|
|
||||||
// log.Errorln("invalid streaming key; rejecting incoming stream")
|
|
||||||
// _ = nc.Close()
|
|
||||||
// return
|
|
||||||
// }
|
|
||||||
|
|
||||||
rtmpOut, rtmpIn := io.Pipe()
|
rtmpOut, rtmpIn := io.Pipe()
|
||||||
_pipe = rtmpIn
|
_pipe = rtmpIn
|
||||||
log.Infoln("Inbound stream connected.")
|
log.Infoln("Inbound stream connected.")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user