# RTP Jitter Buffer vs Sort Buffer

**URL:** <https://community.wowza.com/t/rtp-jitter-buffer-vs-sort-buffer/95401>\
**Category:** Wowza Streaming Engine\
**Created:** [September 16, 2022, 4:20pm UTC](https://community.wowza.com/t/rtp-jitter-buffer-vs-sort-buffer/95401 "2022-09-16T16:20:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hayden\_myers](https://avatars.discourse-cdn.com/v4/letter/h/eada6e/32.png) [@hayden\_myers](https://community.wowza.com/u/hayden_myers)\
**Post date:** [September 16, 2022, 4:20pm UTC](https://community.wowza.com/t/rtp-jitter-buffer-vs-sort-buffer/95401/1 "2022-09-16T16:20:30Z")

</div>

What’s the difference between the jitter buffer mentioned [here](https://www.wowza.com/docs/how-to-turn-on-an-rtp-jitter-buffer-and-packet-loss-logging-rtp-and-mpeg-ts#configure-an-rtp-jitter-buffer0)  
and the sort buffer mentioned [here](https://www.wowza.com/docs/how-to-fix-unaligned-video-and-audio-with-a-server-side-sort-buffer)

I’ve noticed a correlation between cpu utilization and rtpDePacketizerPacketSorterFlushTime. A flush time of 10 uses significantly more cpu utilization than a flush time of 50. How does one determine the proper value for these parameters? What’s the effect of a larger or shorter flush interval?
