From 55db8289cad089cc75b412394d5260c4f977f121 Mon Sep 17 00:00:00 2001 From: Saxon Milton Date: Thu, 28 Jun 2018 14:20:57 +0930 Subject: [PATCH] Still writing --- rtmp/rtmp.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rtmp/rtmp.go b/rtmp/rtmp.go index b49234b3..fac20d1a 100644 --- a/rtmp/rtmp.go +++ b/rtmp/rtmp.go @@ -87,6 +87,11 @@ func (s *session) Open() error { } func (s *session) rtmpWrite(rtmp *C.RTMP, data []byte) bool { + var pkt *C.RTMPPacket = &rtmp.m_write + var pend, enc *C.char + s2 := len(data) + var ret, num int + }