1 / 12

RTP Tools (Version 1.18)

RTP Tools (Version 1.18). Speaker : 施 賢 孝 Adviser :Quincy Wu Date :2007/01/22. Outline. Description Applications Installation General Usage Hints rtpplay Rtpdump DEMO rtpsend rtptrans. Description.

anthonylee
Download Presentation

RTP Tools (Version 1.18)

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. RTP Tools (Version 1.18) Speaker : 施 賢 孝 Adviser :Quincy Wu Date :2007/01/22

  2. Outline • Description • Applications • Installation • General Usage Hints • rtpplay • Rtpdump • DEMO • rtpsend • rtptrans

  3. Description • The rtptools distribution consists of a number of small applications that can be used for processing RTP data.

  4. Applications • rtpplay • Play back RTP sessions recorded by rtpdump • rtpsend • Generate RTP packets from textual description, generated by hand or rtpdump • rtpdump • Parse and print RTP packets, generating output files suitable for rtpplay and rtpsend • rtptrans • RTP translator between unicast and multicast networks; also translates between VAT and RTP formats.

  5. Installation • Sources are available from http://www.cs.columbia.edu/IRT/software/rtptools/download/. • The RTP tools should compile on any Posix-compliant platform supporting sockets, as well as Windows/NT/95/98/2000 (Win32). • For Unix systems type ./configure; make

  6. General Usage Hints • Network addresses can be either multicast or unicast addresses, unless stated otherwise. • dotted-decimal notation (e.g., 224.2.0.1) or as a host name (e.g., lupus.fokus.gmd.de). • Port numbers must be given as decimal numbers in the range of 1 to 65535. • Network addresses are specified as destination/port/ttl. • For all commands, the flag -h or -? will print a short usage summary.

  7. rtpplay • rtpplay [-T] [-v] [-f file] [-p profile] [-s sourceport] [-b begin] [-e end] destination/port[/ttl] • The rtpplay reads RTP session data, recorded by rtpdump -F dump from either the file or stdin. • If the flag -T is given, the timing between packets corresponds to the arrival timing rather than the RTP timestamps. • The RTP clock frequency is read from the profile file if given . • The -v flag has rtpplay display the packets generated on stdout.

  8. rtpdump • rtpdump [-F format] [-t duration] [-x bytes] [-f file] [-o outputfile] address/port • The rtpdump listens on the address and port pair for RTP and RTCP packets and dumps a processed version to outputfile if specified or stdout otherwise. • If file is specified, the file is used instead of the network address. If no network address is given, file input is expected from stdin. The file must have been recorded using the rtpdump dump format. • Format type : • dump . header . payload . ascii . hex . rtcp . short • The dump in binary format, suitable for rtpplay. The format is as follows: The file starts with #!rtpplay1.0 address/port\n

  9. DEMO • &./rtpplay -T -v -f bark.rtp -s 8000 10.10.16.195/5060 • &./rtpplay -T -v -f bark.rtp 10.10.16.195/5060 • &./rtpdump -F dump -f bark.rtp -o test5 • &./rtpdump -F dump -t 0.1 -o test3 10.10.16.195/8000

  10. rtpsend • rtpsend [-a] [-l] [-s sourceport] [-f file] destination/port[/ttl] • The rtpsend sends an RTP packet stream with configurable parameters. This is intended to test RTP features. • If the -a flag is specified, rtpsend includes a router alert IP option in RTCP packets. This is used by the YESSIR resource reservation protoccol. • The file file contains the description of the packets to be sent.

  11. rtptrans • rtptrans [host]/port[/ttl] [host]/port[/ttl] [...] • The rtptrans RTP/RTCP packets arriving from one of the addresses to all other addresses. • The translator can translate VAT packets into RTP packets. • VAT packets arriving on a multicast connection are translated into RTP and sent over a unicast link. • multicast VAT -> translator -> unicast RTP

  12. Reference • RTPTools(Version1.18) : http://www.cs.columbia.edu/IRT/software/rtptools/ • http://open4all.info/ossa/_RTPTOOLS

More Related