Browse Source

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>
tags/n3.0
Martin Storsjö 10 years ago
parent
commit
3c525b8b47
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/rtpdec.h

+ 1
- 1
libavformat/rtpdec.h View File

@@ -35,7 +35,7 @@ typedef struct RTPDynamicProtocolHandler RTPDynamicProtocolHandler;
#define RTP_MIN_PACKET_LENGTH 12 #define RTP_MIN_PACKET_LENGTH 12
#define RTP_MAX_PACKET_LENGTH 8192 #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) #define RTP_NOTS_VALUE ((uint32_t)-1)




Loading…
Cancel
Save