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 + }