RTP T esting Strategies Colin P erkins < c.p - - PowerPoint PPT Presentation

rtp t esting strategies colin p erkins c p erkins cs ucl
SMART_READER_LITE
LIVE PREVIEW

RTP T esting Strategies Colin P erkins < c.p - - PowerPoint PPT Presentation

RTP T esting Strategies Colin P erkins < c.p erkins@cs.ucl.ac.uk > Depa rtment of Computer Science Universit y College London Go w er Street London W C1E 6BT Objectives A new draft (draft-ietf-avt-rtptest-00.txt)


slide-1
SLIDE 1 RTP T esting Strategies Colin P erkins <c.p erkins@cs.ucl.ac.uk> Depa rtment
  • f
Computer Science Universit y College London Go w er Street London W C1E 6BT
slide-2
SLIDE 2 Objectives A new draft (draft-ietf-avt-rtptest-00.txt) suggests means b y which RTP implementations ma y b e tested, to
  • help
demonstrate interop erabilit y
  • illustrate
common implementation erro rs This is not a set
  • f
confo rmance tests! Colin P erkins/RTP T esting Strategies/1
slide-3
SLIDE 3 F unctions tested
  • End
systems { Media transp
  • rt
{ Basic RTCP including SR/RR, reaction to loss { RTCP SDES, BYE, APP
  • T
ranslato rs
  • Mixers
Colin P erkins/RTP T esting Strategies/2
slide-4
SLIDE 4 Media T ransp
  • rt
{ T est Scena rio +-------
  • +
+-------+ Test instrumen t +-----+ | +-------
  • +
| | | +-------
  • +-
  • -+
+-------+
  • +
| First RTP | | Second RTP | | implement at io n | | implementa ti
  • n
| +-------
  • -+
+--------
  • +
  • T
est instrument can dela y
  • r
drop pack ets passing b et w een the t w
  • implementations
  • T
est instrument can reco rd pack et contents fo r analysis Colin P erkins/RTP T esting Strategies/3
slide-5
SLIDE 5 Media T ransp
  • rt
{ RTP T ests T est instrument fo rw a rds pack ets with no loss
  • r
dela y . V erify exchange
  • f
media with a va riet y
  • f
co decs, including the follo wing edge conditions:
  • Timestamp
& sequence numb er wrapa round
  • P
adding, ma rk er bit, header extension
  • Sequence
numb er increment, random sta rt value
  • Timestamp
increment and, random sta rt value
  • Random
choice
  • f
SSRC Colin P erkins/RTP T esting Strategies/4
slide-6
SLIDE 6 Media T ransp
  • rt
{ Basic RTCP T ests T est instrument fo rw a rds pack ets with no loss
  • r
dela y . V erify the follo wing:
  • Structure
  • f
comp
  • und
RTCP pack ets
  • Consistency
  • f
SR/RR headers with the data pack ets b eing sent
  • RR
pack ets sho w lo w jitter and no loss
  • SDES
pack ets { esp ecially CNAME { and their co rrectness
  • BYE
pack ets { including `reason fo r leaving' text Colin P erkins/RTP T esting Strategies/5
slide-7
SLIDE 7 Media T ransp
  • rt
{ Advanced RTCP T ests T est instrument va riously inserts dela y and/o r loss. V erify the follo wing:
  • Loss
fraction in RR matches loss generated
  • Jitter
in RR va ries with dela y generated V erify pla y
  • ut
  • f
media streams subject to small amount
  • f
dela y/loss. Colin P erkins/RTP T esting Strategies/6
slide-8
SLIDE 8 T ranslato rs { T est Scena rio +-------
  • +
+-------+ RTP Translator +-----+ | +-------
  • +
| | | +-------
  • +-
  • -+
+-------+
  • +
| First RTP | | Second RTP | | implement at io n | | implementa ti
  • n
| +-------
  • -+
+--------
  • +
Simil a r to p revious tests, but with the translato r fo rw a rding pack ets b et w een the implementations. Colin P erkins/RTP T esting Strategies/7
slide-9
SLIDE 9 T ranslato rs { T ests
  • Pla
y
  • ut
  • f
translated stream
  • F
  • rw
a rding
  • f
RTCP pack ets
  • Check
that translated SR/RR match the translation Details dep end
  • n
the translation, so ha rd to give exact tests. Colin P erkins/RTP T esting Strategies/8
slide-10
SLIDE 10 Mixers { T est Scena rio +-------
  • -+
| Second RTP | | implement at io n | +-------
  • +-
  • -+
| | +-------
  • +
+-------+ RTP Mixer +-----+ | +-------
  • +
| | | +-------
  • +-
  • -+
+------- +-
  • -+
| First RTP | | Third RTP | | implement at io n | | implemen tat io n | +-------
  • -+
+-------
  • -+
Colin P erkins/RTP T esting Strategies/9
slide-11
SLIDE 11 Mixers { T ests
  • Pla
y
  • ut
  • f
mixed stream
  • CC
is set to 2 and CSRC list is p resent in RTP pack ets
  • RTP
pack ets have SSRC
  • f
the mixer
  • RR
pack ets generated to w a rds sender
  • SR
pack ets generated to w a rds receivers
  • F
  • rw
a rding
  • f
SDES pack ets
  • F
  • rw
a rding
  • f
BYEs, generation
  • f
BYE when mixer quits Colin P erkins/RTP T esting Strategies/10
slide-12
SLIDE 12 T
  • do...
  • T
ests fo r lo
  • p
detection algo rithm
  • T
ests fo r encrypted media
  • Merge
with the RTCP testing draft? Colin P erkins/RTP T esting Strategies/11
slide-13
SLIDE 13 F utures...
  • Is
this so rt
  • f
do cument a go
  • d
idea?
  • Mak
e an info rmational RF C giving testing strategies fo r RTP implementations? Colin P erkins/RTP T esting Strategies/12