This wiki has been migrated to https://gitlab.com/wireshark/wireshark/-/wikis/home and is now deprecated. Please use that site instead.
Differences between revisions 5 and 6
Revision 5 as of 2008-04-12 17:51:26
Size: 2638
Editor: localhost
Comment: converted to 1.6 markup
Revision 6 as of 2019-09-03 08:13:06
Size: 2468
Editor: GuyHarris
Comment: This capture file isn't recognized by Wireshark as a known capture file type because it's apparently a QuickTime movie file, not a capture.
Deletions are marked like this. Additions are marked like this.
Line 45: Line 45:
This capture file is 8MB in size, and isn't recognised by the current version of Wireshark as being in a valid format...

 * [[attachment:SampleCaptures/RTSP.pcap]]

Real-time Streaming Protocol (RTSP)

RTSP is used to set up real-time media streams, e.g. ones using RTP and RTCP.

History

RTSP was first specified in RFC2326.

Protocol dependencies

  • TCP: Typically, RTSP uses TCP as its transport protocol. The well known TCP port for RTSP traffic is 554.

  • UDP: RTSP can also use UDP as its transport protocol (is this ever done?). The well known UDP port for RTSP traffic is 554.

Example traffic

XXX - Add example traffic here (as plain text or Wireshark screenshot).

Wireshark

The RTSP dissector is fully functional over TCP, but currently doesn't handle RTSP-over-UDP.

Preference Settings

There are four preference settings affecting RTSP.

RTSP TCP Port:

This preference specifies the first of the TCP ports on which the RTSP dissector will check for traffic. The default is 554.

Alternate RTSP TCP Port:

This preference specifies the second of the TCP ports on which the RTSP dissector will check for traffic. The default is 8554.

Reassemble RTSP headers spanning multiple TCP segments:

When this preference is enabled, then the RTSP dissector will reassemble the RTSP header if it has been transmitted over more than one TCP segment. Although it is unusual for headers span multiple segments, it's not impossible, and this should be checked if you expect to view the contents of the RTSP conversation.

Reassemble RTSP bodies spanning multiple TCP segments:

When this preference is enabled, then the RTSP dissector will reassemble the RTSP body if it has been transmitted over more than one TCP segment.

Example capture file

Display Filter

A complete list of RTSP display filter fields can be found in the display filter reference

  • Show only the RTSP based traffic:

     rtsp 

Capture Filter

You cannot directly filter RTSP protocols while capturing. However, if you know the TCP port used (see above), you can filter on that one.

  • Capture RTSP traffic over the default port (554):

     tcp port 554 

    Capture RTSP traffic over the alternate port (8554):

    tcp port 8554 

  • RFC2326 Real Time Streaming Protocol (RTSP)

Discussion

RTSP (last edited 2019-09-03 08:13:06 by GuyHarris)