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