mirror of https://bitbucket.org/ausocean/av.git
Using my rtmpConnect0 - tested and working
This commit is contained in:
parent
603ac6dfc7
commit
71be64631b
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue