mirror of https://bitbucket.org/ausocean/av.git
Using my sendBytesRecieved func - tested and working
This commit is contained in:
parent
43c3f7032c
commit
93104c1539
|
@ -845,8 +845,8 @@ func readN(r *C.RTMP, buffer *byte, n int) int {
|
||||||
r.m_nBytesIn += C.int(nRead)
|
r.m_nBytesIn += C.int(nRead)
|
||||||
if r.m_bSendCounter != 0 && r.m_nBytesIn > (r.m_nBytesInSent+
|
if r.m_bSendCounter != 0 && r.m_nBytesIn > (r.m_nBytesInSent+
|
||||||
r.m_nClientBW/10) {
|
r.m_nClientBW/10) {
|
||||||
if C.SendBytesReceived(r) == 0 {
|
//if C.SendBytesReceived(r) == 0 {
|
||||||
//if sendBytesReceived(r) == 0 {
|
if sendBytesReceived(r) == 0 {
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue