add caplen condition before descrease caplen for save only rtp header