mirror of https://bitbucket.org/ausocean/av.git
Changed name of sendConnectPacket to C_SendConnectPacket
This commit is contained in:
parent
dd83eda2e9
commit
1e206875ee
|
@ -747,7 +747,7 @@ func C_RTMP_Connect1(r *C.RTMP, cp *C.RTMPPacket) int {
|
|||
log.Println("... handshaked...")
|
||||
}
|
||||
//if C.SendConnectPacket(r, cp) == 0 {
|
||||
if sendConnectPacket(r, cp) == 0 {
|
||||
if C_SendConnectPacket(r, cp) == 0 {
|
||||
log.Println("RTMP connect failed!")
|
||||
return 0
|
||||
}
|
||||
|
@ -937,7 +937,7 @@ func C_SendBytesReceived(r *C.RTMP) int {
|
|||
return rtmpSendPacket(r, &packet, 0)
|
||||
}
|
||||
|
||||
func sendConnectPacket(r *C.RTMP, cp *C.RTMPPacket) int {
|
||||
func C_SendConnectPacket(r *C.RTMP, cp *C.RTMPPacket) int {
|
||||
var packet C.RTMPPacket
|
||||
var pbuf [4096]byte
|
||||
pend := (*byte)(unsafe.Pointer(incBytePtr(unsafe.Pointer(&pbuf[0]),
|
||||
|
|
Loading…
Reference in New Issue