Reduce video latency by 1 frame by not waiting for the next frame to signal us to give the current frame to the decoder. Also avoid giving partially reconstructed frames to the depacketizer because it can get confused with certain packet loss patterns.
This commit is contained in:
parent
1a2996a49a
commit
3deba8de7e
2 changed files with 71 additions and 28 deletions
|
|
@ -19,7 +19,9 @@ typedef struct _RTP_FEC_QUEUE {
|
|||
int bufferSize;
|
||||
int bufferLowestSequenceNumber;
|
||||
int bufferHighestSequenceNumber;
|
||||
int bufferFirstParitySequenceNumber;
|
||||
int bufferDataPackets;
|
||||
int receivedBufferDataPackets;
|
||||
int fecPercentage;
|
||||
|
||||
int currentFrameNumber;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue