RFC 3158 (rfc3158) - Page 2 of 22
RTP Testing Strategies
Alternative Format: Original Text Document
RFC 3158 RTP Testing Strategies August 2001
6 SSRC Randomization. . . . . . . . . . . . . . . . . . . 19
7 Security Considerations . . . . . . . . . . . . . . . . 20
8 Authors' Addresses. . . . . . . . . . . . . . . . . . . 20
9 References. . . . . . . . . . . . . . . . . . . . . . . 21
Full Copyright Statement. . . . . . . . . . . . . . . . . 22
1 Introduction
This memo describes a possible testing strategy for RTP [1]
implementations. The tests are intended to help demonstrate
interoperability of multiple implementations, and to illustrate
common implementation errors. They are not intended to be an
exhaustive set of tests and passing these tests does not necessarily
imply conformance to the complete RTP specification.
2 End systems
The architecture for testing RTP end systems is shown in Figure 1.
+-----------------+
+--------+ Test instrument +-----+
| +-----------------+ |
| |
+-------+--------+ +-------+--------+
| First RTP | | Second RTP |
| implementation | | implementation |
+----------------+ +----------------+
Figure 1: Testing architecture
Both RTP implementations send packets to the test instrument, which
forwards packets from one implementation to the other. Unless
otherwise specified, packets are forwarded with no additional delay
and without loss. The test instrument is required to delay or
discard packets in some of the tests. The test instrument is
invisible to the RTP implementations - it merely simulates poor
network conditions.
The test instrument is also capable of logging packet contents for
inspection of their correctness.
A typical test setup might comprise three machines on a single
Ethernet segment. Two of these machines run the RTP implementations,
the third runs the test instrument. The test instrument is an
application level packet forwarder. Both RTP implementations are
instructed to send unicast RTP packets to the test instrument, which
forwards packets between them.
Perkins, et al. Informational