Thursday, May 08, 2008

RTP video and audio Timestamp Interval between RTP packets

RTP video and audio Timestamp Interval between RTP packets:
------------------------------------------------------------
For Audio, the timestamp is incremented by the packetization interval times the sampling rate. For example, for audio packets containing 20 ms of audio sampled at 8,000 Hz, the timestamp for each block of audio increases by ((8000 / 1000) * 20) i.e. by 160.
For a 30 f/s video, timestamps would increase by (sample rate / 30) i.e. by 3,000 for each frame. ( SampleRate is 90000 Hz for video).If a frame is transmitted as several RTP packets, these packets would all bear the same timestamp.
ts_unit is equal to the above ...

Labels:

0 Comments:

Post a Comment

<< Home