On 14/09/15 13:49, Martin Storsjö wrote:
> 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).
> ---
>  libavformat/rtpdec.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/libavformat/rtpdec.h b/libavformat/rtpdec.h
> index 9282c4f..8882ce7 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 100
>  
>  #define RTP_NOTS_VALUE ((uint32_t)-1)
>  
> 

Probably is safe to make it even 500, patch ok for me.
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to