mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-10-30 16:27:36 +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