speed up by modifying rtp at end only