summaryrefslogtreecommitdiff
path: root/libavformat/rtpdec.h
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2015-09-12 16:37:09 +0200
committerMartin Storsjö <martin@martin.st>2015-09-15 09:35:44 +0300
commit3c525b8b4770c1ac5f466a12c5523802bd5d40eb (patch)
treeac8367159c9d863674d119e45a88d65257cf883e /libavformat/rtpdec.h
parent570fcaf3326aef9313b10863e2f6e6ae664d9dae (diff)
rtpdec: Increase the max size of the jitter buffer to 500 packets
Since the actual max length of the jitter buffer is restricted by max_delay, this shouldn't harm the overall latency (assuming that max_delay is set properly), while allowing packet reordering with a larger number of packets (which may be required with high bitrate video). Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/rtpdec.h')
-rw-r--r--libavformat/rtpdec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtpdec.h b/libavformat/rtpdec.h
index 9282c4f636..a0c5f778b2 100644
--- a/libavformat/rtpdec.h
+++ b/libavformat/rtpdec.h
@@ -35,7 +35,7 @@ typedef struct RTPDynamicProtocolHandler RTPDynamicProtocolHandler;
#define RTP_MIN_PACKET_LENGTH 12
#define RTP_MAX_PACKET_LENGTH 8192
-#define RTP_REORDER_QUEUE_DEFAULT_SIZE 10
+#define RTP_REORDER_QUEUE_DEFAULT_SIZE 500
#define RTP_NOTS_VALUE ((uint32_t)-1)