diff --git a/webrtc/Nack.cpp b/webrtc/Nack.cpp index 8d4da792..2579cf01 100644 --- a/webrtc/Nack.cpp +++ b/webrtc/Nack.cpp @@ -79,7 +79,7 @@ void NackContext::received(uint16_t seq) { return; } - if (diff > UINT32_MAX / 2) { + if (diff > UINT16_MAX / 2) { //回环 _seq.clear(); _last_max_seq = min_seq;