diff --git a/rtmp/connect.go b/rtmp/connect.go index c434d74..e5a0629 100644 --- a/rtmp/connect.go +++ b/rtmp/connect.go @@ -1,8 +1,5 @@ package rtmp -import ( - "fmt" -) func NegotiateConnect(chnk_wrp_ptr *ChunkWrapper) (bool) { if err := chnk_wrp_ptr.ReadPeerChunkSize(); err != nil { @@ -23,6 +20,5 @@ func NegotiateConnect(chnk_wrp_ptr *ChunkWrapper) (bool) { if err := chnk_wrp_ptr.WriteConnectResponse(); err != nil { return false } - fmt.Println(chnk_wrp_ptr.params) - return false + return true }