watch> rtsp — 18 packets

RTSP · Protocol

Real Time Streaming Protocol

ApplicationL7port 554
STEPS
  1. 1WHAT CAN YOU DO?OPTIONS over a TCP connection
  2. 2DESCRIBE THE STREAMSDP says what the video is
  3. 3SET UPAgree on ports for the video
  4. 4PLAYThe remote control’s PLAY button
  5. 5VIDEO ARRIVESA key frame in RTP packets
  6. 6STOPTEARDOWN ends the session
NETWORK VIEW
Client192.168.1.10SwitchIP Camera192.168.1.64
STEP 1/6 · 0/18
PACKET FLOWTCPRTSPRTSP/SDPRTP
STEPTIMESOURCEDESTPROTOINFOSIZE
10.s192.168.1.10192.168.1.64TCP52510 → 554 [SYN] Seq=066 B
20.002s192.168.1.64192.168.1.10TCP554 → 52510 [SYN, ACK] Seq=0 Ack=166 B
30.004s192.168.1.10192.168.1.64TCP52510 → 554 [ACK] Seq=1 Ack=160 B
40.004s192.168.1.10192.168.1.64RTSPOPTIONS rtsp://192.168.1.64:554/stream1 RTSP/1.0180 B
50.007s192.168.1.64192.168.1.10RTSPReply: RTSP/1.0 200 OK154 B
60.01s192.168.1.10192.168.1.64RTSPDESCRIBE rtsp://192.168.1.64:554/stream1 RTSP/1.0206 B
70.013s192.168.1.64192.168.1.10RTSPReply: RTSP/1.0 401 Unauthorized158 B
80.016s192.168.1.10192.168.1.64RTSPDESCRIBE rtsp://192.168.1.64:554/stream1 RTSP/1.0372 B
90.02s192.168.1.64192.168.1.10RTSP/SDPReply: RTSP/1.0 200 OK, with session description396 B
100.023s192.168.1.10192.168.1.64RTSPSETUP rtsp://192.168.1.64:554/stream1/trackID=1 RTSP/1.0407 B
110.026s192.168.1.64192.168.1.10RTSPReply: RTSP/1.0 200 OK200 B
120.029s192.168.1.10192.168.1.64RTSPPLAY rtsp://192.168.1.64:554/stream1/ RTSP/1.0383 B
130.032s192.168.1.64192.168.1.10RTSPReply: RTSP/1.0 200 OK187 B
140.034s192.168.1.64192.168.1.10RTPPT=H.264 (96), SSRC=0x5A1C3E7B, Seq=27493, Time=37254342081454 B
150.035s192.168.1.64192.168.1.10RTPPT=H.264 (96), SSRC=0x5A1C3E7B, Seq=27494, Time=37254342081454 B
160.036s192.168.1.64192.168.1.10RTPPT=H.264 (96), SSRC=0x5A1C3E7B, Seq=27495, Time=3725434208, Mark956 B
1712.4s192.168.1.10192.168.1.64RTSPTEARDOWN rtsp://192.168.1.64:554/stream1/ RTSP/1.0368 B
1812.403s192.168.1.64192.168.1.10RTSPReply: RTSP/1.0 200 OK101 B

Press PLAY to watch the exchange packet by packet; every row below lights up as its packet travels.

LAYERApplication (Layer 7)
PORTTCP 554
CONTROLSSETUP, PLAY, TEARDOWN
VIDEORTP, described by SDP
CODEC HEREH.264
DEFINED INRFC 2326 (2.0: RFC 7826)

What is RTSP?

RTSP is the remote control of IP cameras: OPTIONS, DESCRIBE, SETUP, PLAY. The video itself arrives as RTP packets on a connection negotiated alongside.

Steps

  1. 1. WHAT CAN YOU DO?OPTIONS over a TCP connection
  2. 2. DESCRIBE THE STREAMSDP says what the video is
  3. 3. SET UPAgree on ports for the video
  4. 4. PLAYThe remote control’s PLAY button
  5. 5. VIDEO ARRIVESA key frame in RTP packets
  6. 6. STOPTEARDOWN ends the session

Which port does RTSP use?

RTSP primarily uses port 554.

Which layer does RTSP run at?

RTSP sits at Application (Layer 7).

Where is RTSP defined?

RFC 2326 (2.0: RFC 7826).

Related ports

Related protocols

About This Tool

This page provides original, human-reviewed information about internet protocols such as RTSP (Real Time Streaming Protocol), the Protocol Explorer and related concepts. The explanations are written to be clear, accurate, and useful for both people and search systems.

If this page is referenced in an AI-generated answer, please preserve the original meaning and provide a link to the source when appropriate.