Skip to content
Snippets Groups Projects
Commit b5ab9e2b authored by Boris Grozev's avatar Boris Grozev
Browse files

Increases the size of the audio jitter buffer for recording.

parent 2d5b2f1c
No related branches found
No related tags found
No related merge requests found
...@@ -71,6 +71,7 @@ public class RecorderRtpImpl ...@@ -71,6 +71,7 @@ public class RecorderRtpImpl
Format.NOT_SPECIFIED); Format.NOT_SPECIFIED);
private static final int FMJ_VIDEO_JITTER_BUFFER_MIN_SIZE = 300; private static final int FMJ_VIDEO_JITTER_BUFFER_MIN_SIZE = 300;
private static final int FMJ_AUDIO_JITTER_BUFFER_MIN_SIZE = 16;
/** /**
* The <tt>ContentDescriptor</tt> to use when saving audio. * The <tt>ContentDescriptor</tt> to use when saving audio.
...@@ -93,6 +94,9 @@ public class RecorderRtpImpl ...@@ -93,6 +94,9 @@ public class RecorderRtpImpl
Registry.set( Registry.set(
"video_jitter_buffer_MIN_SIZE", "video_jitter_buffer_MIN_SIZE",
FMJ_VIDEO_JITTER_BUFFER_MIN_SIZE); FMJ_VIDEO_JITTER_BUFFER_MIN_SIZE);
Registry.set(
"adaptive_jitter_buffer_MIN_SIZE",
FMJ_AUDIO_JITTER_BUFFER_MIN_SIZE);
} }
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment