mirror of https://bitbucket.org/ausocean/av.git
Using my C_SocksNegotiate func - tested and working
This commit is contained in:
parent
cb2f4549ed
commit
c8c3b4b3aa
|
@ -1076,8 +1076,8 @@ func C_RTMP_Connect0(r *C.RTMP, service *C.sockaddr) int {
|
||||||
log.Println("C_RTMP_Connect0: socks negotiation.")
|
log.Println("C_RTMP_Connect0: socks negotiation.")
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: port this
|
//if C.SocksNegotiate(r) == 0 {
|
||||||
if C.SocksNegotiate(r) == 0 {
|
if C_SocksNegotiate(r) == 0 {
|
||||||
log.Println("C_RTMP_Connect0: SOCKS negotiation failed.")
|
log.Println("C_RTMP_Connect0: SOCKS negotiation failed.")
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue