fix no maker one frame check
This commit is contained in:
parent
2172209321
commit
813c83ccc7
|
|
@ -1311,9 +1311,10 @@ bool SrsPsJitterBuffer::NextMaybeIncompleteTimestamp(uint32_t* timestamp)
|
|||
|
||||
SrsPsFrameBuffer* next_frame;
|
||||
next_frame = incomplete_frames_.FrontNext();
|
||||
|
||||
|
||||
if (oldest_frame_state != kStateComplete && next_frame &&
|
||||
((oldest_frame->GetHighSeqNum()+20) % 65536) >= next_frame->GetLowSeqNum()){
|
||||
IsNewerSequenceNumber(next_frame->GetLowSeqNum(), oldest_frame->GetHighSeqNum()) &&
|
||||
next_frame->NumPackets() > 0 ) {
|
||||
oldest_frame_state = kStateComplete;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user