WireShark中delta,jitter含義

What are “Difference” and “Delta” in Wireshark RTP Analysis?

    Ok, since I'm the one that committed the code I feel somewhat pressured to attempt to describe it ;)

To really understand the behaviour of RTP one has to be comfortable with the concept of timebases. With timebases I mean clocks running at different nodes and protocol levels of the networked system. Between nodes of an RTP session (I assume a point-to-point session here) there are several relevant timebases. There are the sender RTP timestamper and packet sender clock on the one end and RTP receiver and playout clock on the other. Note: these are not necessarily in sync.

Your Wireshark capture must be considered a point somewhere in between these nodes. It may be at the producer side (eg. in the gateway) or receiver side (eg. terminal), or somewhere in between (eg. intermediate network switch).

What the RTP nodes try to do at the session level is to convey realtime data (eg. speech) at a specified rate. They produce RTP packets with an agreed encoding and time interval (=size) and timestamp these frames. Then they hand them off to the network stack to be transmitted to the other node. When this packet actually appears on the network may depend on various factors, but will probably be with varying delay. Then it has to traverse the network. This may also be with varying delay. Then it enters the receiver node network stack which will deliver it to the receiving RTP endpoint, also with varying delay. So, the receiver has to cope with all that varying delay, and try to sync its timebase to the transmitter. As you can imagine from this description there is only a so much you can do with the receive timestamp. The RTP timestamps should be the ones the receiving RTP node should work with. As you can see it's complex enough, and I won't even discuss the playout clock.

Now that we're aware of the timing aspect of RTP we go back to the Wireshark RTP analysis' difference and delta.

Delta is the difference between arrival of this packet vs. the arrival of the previous packet. It's all at the network layer and reflects the packet arrival at the capture interface (where it's timestamped).

Difference tries to tell us something about the relationship between packet arrival and RTP timestamps. It's the (absolute) difference of the packet arrival at the capture interface (where it's timestamped) vs. the expected time of arrival of the packet at the capture interface based on the RTP timestamp.

So, Delta is nice from a networking perspective, but for the RTP receiver the Difference is much more relavant since it influences the depth of the jitter buffer is must maintain to provide an uninterrupted playout.

permanent link
answered 20 Jan '14, 09:39

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章