mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-07-04 09:47:33 +08:00
完善nack/srtp相关代码
This commit is contained in:
@@ -192,7 +192,7 @@ uint64_t NackContext::reSendNack() {
|
||||
it = _nack_send_status.erase(it);
|
||||
continue;
|
||||
}
|
||||
if (now - it->second.update_stamp < 2 * _rtt) {
|
||||
if (now - it->second.update_stamp < kNackIntervalRatio * _rtt) {
|
||||
//距离上次nack不足2倍的rtt,不用再发送nack
|
||||
++it;
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user