mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 19:00:01 +08:00
修复nack/rtx发送时相关bug
This commit is contained in:
parent
da9d3a3b1f
commit
30840d8200
@ -58,7 +58,7 @@ uint32_t NackList::get_cache_ms() {
|
||||
}
|
||||
uint32_t back = _nack_cache_pkt[_nack_cache_seq.back()]->getStampMS();
|
||||
uint32_t front = _nack_cache_pkt[_nack_cache_seq.front()]->getStampMS();
|
||||
if (back > front) {
|
||||
if (back >= front) {
|
||||
return back - front;
|
||||
}
|
||||
//很有可能回环了
|
||||
|
Loading…
Reference in New Issue
Block a user