mirror of https://bitbucket.org/ausocean/av.git
Using my rtmpSetBufferMS - tested and working
This commit is contained in:
parent
42f0e791cf
commit
8c2748af0f
|
@ -407,8 +407,8 @@ func startSession(rtmp *C.RTMP, u string, timeout uint32) (*C.RTMP, error) {
|
|||
|
||||
rtmpEnableWrite(rtmp)
|
||||
//C.RTMP_EnableWrite(rtmp)
|
||||
// rtmpSetBufferMS(rtmp, 3600*1000)
|
||||
C.RTMP_SetBufferMS(rtmp, 3600*1000)
|
||||
rtmpSetBufferMS(rtmp, 3600*1000)
|
||||
//C.RTMP_SetBufferMS(rtmp, 3600*1000)
|
||||
// if rtmpConnect(rtmp, nil) == 0 {
|
||||
if C.RTMP_Connect(rtmp, nil) == 0 {
|
||||
//C.RTMP_Close(rtmp)
|
||||
|
|
Loading…
Reference in New Issue