Using my sendBytesRecieved func - tested and working

This commit is contained in:
saxon 2018-07-28 16:37:15 +09:30
parent 43c3f7032c
commit 93104c1539
1 changed files with 2 additions and 2 deletions

View File

@ -845,8 +845,8 @@ func readN(r *C.RTMP, buffer *byte, n int) int {
r.m_nBytesIn += C.int(nRead)
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 {
if sendBytesReceived(r) == 0 {
return 0
}
}