I am using the fields rtp.timestamp and frame.time_relative for calcualtion of jitter. What are the units of these fields? milliseconds?

asked 29 Nov '10, 20:38

skypemesm's gravatar image

skypemesm
46669
accept rate: 0%


frame.time_relative is in units of seconds; it has a fractional part, so it can have a higher resolution than one second.

As for RTP, to quote RFC 3550, the specification for RTP, "The timestamp reflects the sampling instant of the first octet in the RTP data packet. The sampling instant MUST be derived from a clock that increments monotonically and linearly in time to allow synchronization and jitter calculations (see Section 6.4.1). The resolution of the clock MUST be sufficient for the desired synchronization accuracy and for measuring packet arrival jitter (one tick per video frame is typically not sufficient). The clock frequency is dependent on the format of data carried as payload and is specified statically in the profile or payload format specification that defines the format, or MAY be specified dynamically for payload formats defined through non-RTP means.", so the units of the rtp.timestamp field depends on the type of payload - and might not be the same for all payloads of a given type and not be determinable just by looking at the RTP traffic.

link

answered 30 Nov '10, 01:12

Guy%20Harris's gravatar image

Guy Harris ♦♦
7.6k11898
accept rate: 15%

edited 30 Nov '10, 01:13

An example: Media Attribute (a): rtpmap:0 PCMU/8000 The sampling frequency is 8000 Hz, so a time-tick is 1/8000 s.

(01 Dec '10, 23:30) Anders ♦
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×95
×30
×5

Asked: 29 Nov '10, 20:38

Seen: 1,547 times

Last updated: 01 Dec '10, 23:30

powered by OSQA