Share via


4.4.6 Stream Playback with Authentication

The following sequence occurs between a client and server if the server requires the client to be authenticated:

  1. The client sends a Describe (section 2.2.7.2) request.

  2. The server responds with a "401 Unauthorized" response. The server and client exchange access authentication messages, as described in [RFC1945] section 11.

    Note The request/response exchanges required for authentication are defined by the selected authentication scheme.

  3. If authentication has succeeded, the server sends a "200 OK:" response that includes the SDP record.

  4. The client sends a SelectStream (section 2.2.7.10) request by using the Setup method for each selected stream.

  5. The server responds with "200 OK".

  6. The client submits a Play (section 2.2.7.9) request to start receiving the RTP packets.

  7. The server responds with "200 OK" and begins sending the RTP packets.

  8. The client submits connect-time statistics using a LogConnect request.

The following illustration shows the previously described sequence.

RTSP client-server stream playback sequence with authentication

Figure 16: RTSP client-server stream playback sequence with authentication