Chaged name of rtmpEnableWrite to C_RTMP_EnableWrite

This commit is contained in:
saxon 2018-08-07 12:07:42 +09:30
parent 36cae47dc3
commit 9bd643bc89
1 changed files with 2 additions and 2 deletions

View File

@ -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!")
}
rtmpEnableWrite(rtmp)
C_RTMP_EnableWrite(rtmp)
//C.RTMP_EnableWrite(rtmp)
rtmpSetBufferMS(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
}