From 32159831639fcc80b43a9ee97ff8c6c0968230a2 Mon Sep 17 00:00:00 2001 From: saxon Date: Sat, 28 Jul 2018 15:34:11 +0930 Subject: [PATCH] Tried using my rtmpConnect1 func - tested but failed - going to go in and use more c stuff until working --- rtmp/rtmp.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 {