mirror of https://bitbucket.org/ausocean/av.git
Using my amfEncodeString in a second place - tested and working
This commit is contained in:
parent
c7549d4aa1
commit
d886d43139
|
@ -1083,9 +1083,9 @@ func sendConnectPacket(r *C.RTMP, cp *C.RTMPPacket) int {
|
||||||
if enc == nil {
|
if enc == nil {
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
enc = (*byte)(unsafe.Pointer(C.AMF_EncodeString((*C.char)(unsafe.Pointer(enc)),
|
//enc = (*byte)(unsafe.Pointer(C.AMF_EncodeString((*C.char)(unsafe.Pointer(enc)),
|
||||||
(*C.char)(unsafe.Pointer(pend)), &r.Link.auth)))
|
//(*C.char)(unsafe.Pointer(pend)), &r.Link.auth)))
|
||||||
//enc = amfEncodeString(enc, (*byte)(pend), &r.Link.auth)
|
enc = amfEncodeString(enc, (*byte)(pend), &r.Link.auth)
|
||||||
if enc == nil {
|
if enc == nil {
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue