3.4.5.7 Receiving an RTSP TEARDOWN Request

The DMS MUST process the TEARDOWN request according to the rules in [DLNA] guideline 7.4.210.

If the TEARDOWN request includes the User-Agent header (section 2.2.3.5), it MUST be ignored.

If the TEARDOWN request includes the X-Accept-Authentication header (section 2.2.3.6), it MUST be ignored.

If the TEARDOWN request includes the X-Playlist-Gen-Id header (section 2.2.3.7), it MUST be ignored.

The DMS MUST include headers in the RTSP response, as specified in section 3.4.5.3.1.

If the TEARDOWN request results in the DLNA Stop Media Operation, as specified in [DLNA] guideline 7.4.264, then the DMS MUST set the value of the State variable to RTSP_Ready.

If the value of the State variable is RTSP_Ready, then the DMS MUST be prepared to receive any of the following requests:

  • PLAY: specified in section 3.4.5.5.

  • SETUP: specified in section 3.4.5.4.

  • TEARDOWN: specified in section 3.4.5.7.

  • OPTIONS: specified in section 3.4.5.8.

If the RTSP response status code is anything other than 200, then the DMS MUST continue following the rules that are applicable according to the current value of the State variable.