mirror of https://bitbucket.org/ausocean/av.git
Removed C_RTMP_SetBufferMS().
This commit is contained in:
parent
9335e2701d
commit
3dccec4f35
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue