From 881cbe28f84c83aadbbb0e2672ee6be3381fcd0d Mon Sep 17 00:00:00 2001 From: Muaz Ahmad Date: Tue, 15 Aug 2023 14:27:54 +0500 Subject: [PATCH] Pass successful connect return --- rtmp/connect.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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 }