Removed C_RTMP_SetBufferMS().

This commit is contained in:
scruzin 2019-01-06 17:43:48 +10:30
parent 9335e2701d
commit 3dccec4f35
1 changed files with 2 additions and 4 deletions

View File

@ -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