diff --git a/rtmp/rtmp.go b/rtmp/rtmp.go index 6fa97a73..3bc4d43e 100644 --- a/rtmp/rtmp.go +++ b/rtmp/rtmp.go @@ -665,8 +665,8 @@ func rtmpConnect(r *C.RTMP, cp *C.RTMPPacket) int { r.m_bSendCounter = 1 - //return int(rtmpConnect1(r, cp)) - return int(C.RTMP_Connect1(r, cp)) + return int(rtmpConnect1(r, cp)) + //return int(C.RTMP_Connect1(r, cp)) } func rtmpConnect0(r *C.RTMP, service *C.sockaddr) int {