mirror of https://bitbucket.org/ausocean/av.git
Changed name of sendBytesReceived to C_SendBytesReceived
This commit is contained in:
parent
f76b228f3e
commit
dd83eda2e9
|
@ -867,7 +867,7 @@ func C_ReadN(r *C.RTMP, buffer *byte, n int) int {
|
|||
if r.m_bSendCounter != 0 && r.m_nBytesIn > (r.m_nBytesInSent+
|
||||
r.m_nClientBW/10) {
|
||||
//if C.SendBytesReceived(r) == 0 {
|
||||
if sendBytesReceived(r) == 0 {
|
||||
if C_SendBytesReceived(r) == 0 {
|
||||
return 0
|
||||
}
|
||||
}
|
||||
|
@ -912,7 +912,7 @@ func C_RTMP_SockBuffFill(sb *C.RTMPSockBuf) int {
|
|||
return nBytes
|
||||
}
|
||||
|
||||
func sendBytesReceived(r *C.RTMP) int {
|
||||
func C_SendBytesReceived(r *C.RTMP) int {
|
||||
var packet C.RTMPPacket
|
||||
var pbuf [256]byte
|
||||
pend := (*byte)(incBytePtr(unsafe.Pointer(&pbuf[0]), 256))
|
||||
|
|
Loading…
Reference in New Issue