Pass successful connect return
This commit is contained in:
parent
ae9bb63d04
commit
881cbe28f8
1 changed files with 1 additions and 5 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue