mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
fix no maker one frame check
This commit is contained in:
parent
2172209321
commit
813c83ccc7
1 changed files with 3 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue