Fixed an error introduced in previous commit for RTP module