mirror of https://bitbucket.org/ausocean/av.git
Chaged name of rtmpEnableWrite to C_RTMP_EnableWrite
This commit is contained in:
parent
36cae47dc3
commit
9bd643bc89
|
@ -426,7 +426,7 @@ func startSession(rtmp *C.RTMP, u string, timeout uint32) (*C.RTMP, error) {
|
||||||
return nil, errors.New("rtmp startSession: Failed to setup URL!")
|
return nil, errors.New("rtmp startSession: Failed to setup URL!")
|
||||||
}
|
}
|
||||||
|
|
||||||
rtmpEnableWrite(rtmp)
|
C_RTMP_EnableWrite(rtmp)
|
||||||
//C.RTMP_EnableWrite(rtmp)
|
//C.RTMP_EnableWrite(rtmp)
|
||||||
rtmpSetBufferMS(rtmp, 3600*1000)
|
rtmpSetBufferMS(rtmp, 3600*1000)
|
||||||
//C.RTMP_SetBufferMS(rtmp, 3600*1000)
|
//C.RTMP_SetBufferMS(rtmp, 3600*1000)
|
||||||
|
@ -646,7 +646,7 @@ func closeInternal(r *C.RTMP, reconnect int32) {
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
func rtmpEnableWrite(r *C.RTMP) {
|
func C_RTMP_EnableWrite(r *C.RTMP) {
|
||||||
r.Link.protocol |= RTMP_FEATURE_WRITE
|
r.Link.protocol |= RTMP_FEATURE_WRITE
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue