예제 #1
0
파일: server.go 프로젝트: berndfo/gortmp
// Server handler functions
func (handler *ServerHandler) NewConnection(serverConn rtmp.ServerConn, connectReq *rtmp.Command,
	server *rtmp.Server) bool {
	//log.Printf("[%s] attaching handler for new connection", serverConn.Conn().Id())
	serverConn.Attach(handler)
	return true
}