Using my rtmpConnect0 - tested and working

This commit is contained in:
saxon 2018-07-28 15:32:38 +09:30
parent 603ac6dfc7
commit 71be64631b
1 changed files with 2 additions and 2 deletions

View File

@ -658,8 +658,8 @@ func rtmpConnect(r *C.RTMP, cp *C.RTMPPacket) int {
return 0
}
}
if C.RTMP_Connect0(r, (*C.sockaddr)(unsafe.Pointer(&service))) == 0 {
//if rtmpConnect0(r, (*C.sockaddr)(unsafe.Pointer(&service))) == 0 {
//if C.RTMP_Connect0(r, (*C.sockaddr)(unsafe.Pointer(&service))) == 0 {
if rtmpConnect0(r, (*C.sockaddr)(unsafe.Pointer(&service))) == 0 {
return 0
}