From 3dccec4f35344f966f6b97b23781b2242045cb51 Mon Sep 17 00:00:00 2001 From: scruzin Date: Sun, 6 Jan 2019 17:43:48 +1030 Subject: [PATCH] Removed C_RTMP_SetBufferMS(). --- rtmp/rtmp.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/rtmp/rtmp.go b/rtmp/rtmp.go index f05769fa..b649d262 100644 --- a/rtmp/rtmp.go +++ b/rtmp/rtmp.go @@ -153,7 +153,7 @@ func startSession(rtmp *C_RTMP, u string, timeout uint) (*C_RTMP, error) { } C_RTMP_EnableWrite(rtmp) - C_RTMP_SetBufferMS(rtmp, 3600*1000) + rtmp.m_nBufferMS = 3600 * 1000 err = C_RTMP_Connect(rtmp, nil) if err != nil { C_RTMP_Close(rtmp) @@ -237,9 +237,7 @@ func C_RTMP_IsConnected(r *C_RTMP) bool { // void RTMP_SetBufferMS(RTMP *r, int size); // rtmp.c +381 -func C_RTMP_SetBufferMS(r *C_RTMP, size int32) { - r.m_nBufferMS = size -} +// DELETED // void SocksSetup(RTMP *r, C_AVal* sockshost); // rtmp.c +410