Skip to content
Snippets Groups Projects
Commit 4d42ed49 authored by Guillaume Roguez's avatar Guillaume Roguez
Browse files

video: fix jitter buffer size and delay


Correctly sets jitter buffer max delay (in us) to 1 sec instead of
0.1 sec. Increases jitter buffer max size to keep up with larger
packet sizes and resolutions.

Change-Id: I9d608c7ed8353079186b0c2ad234683b3d0bcf69
Reviewed-by: default avatarGuillaume Roguez <guillaume.roguez@savoirfairelinux.com>
parent 6a93bcdc
Branches
Tags
No related merge requests found
......@@ -120,9 +120,9 @@ class MediaDecoder {
// Jitter buffer options: they are default values set in libav
// maximum of packet jitter buffer can queue
const unsigned jitterBufferMaxSize_ {500};
// maximum time a packet can be queued (in ms)
const unsigned jitterBufferMaxDelay_ {100000};
const unsigned jitterBufferMaxSize_ {1500};
// maximum time a packet can be queued (in us)
const unsigned jitterBufferMaxDelay_ {1000000};
#ifdef RING_ACCEL
bool enableAccel_ = true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment