add some changes for rtp