diff --git a/rtmp/connect.go b/rtmp/connect.go index 6891156..d5af7a9 100644 --- a/rtmp/connect.go +++ b/rtmp/connect.go @@ -4,6 +4,6 @@ import ( "net" ) -func NegotiateConnect(conn net.Conn) { - +func NegotiateConnect(conn net.Conn) (bool) { + return false } diff --git a/rtmp/server.go b/rtmp/server.go index 30a77c3..08edba8 100644 --- a/rtmp/server.go +++ b/rtmp/server.go @@ -33,7 +33,7 @@ func handle_conn(conn net.Conn, stream_live *bool) { if !DoHandshake(conn) { return } - if !NegoiateConnect(conn) { + if !NegotiateConnect(conn) { return }