Changed name of sendBytesReceived to C_SendBytesReceived

This commit is contained in:
saxon 2018-08-07 12:27:28 +09:30
parent f76b228f3e
commit dd83eda2e9
1 changed files with 2 additions and 2 deletions

View File

@ -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))