rtp8000Audio and video timestamps are calculated in the same way. Audio RTP payload formats typically uses an 8Khz clock. Then take the first audio sample containing e.g. 20msRTP opens two ports for communication. One for the media stream (an even port number) and one for control (QoS feedback and media control) - RTCP.