Minimum RTSP protocol implementation requirements

Source: Internet
Author: User

The minimum RTSP Protocol is required to support RTSP Streaming Media for videos in the project. This article is translated from the RFC2326 protocol document Appendix D: Minimal RTSP implementation section of RTSP. 1. The client must implement: 1. implementation request: SETUP, TEARDOWN, PLAY/RECORD + ANNOUNCE 2. header: CSeq, Connection, Session, Transport. + (ANNOUNCE: Content-Language, Content-Encoding, Content-Length, and Content-Type) 3. resolution Response Header: CSeq, Connection, Session, Transport, Content-Language, Content-Encoding, Content-Length, Content-Type. + (RECORD: Location; RTP-compliant: RTP-Info) 4. identify and parse all response error codes and notify users. it can respond to server requests asynchronously. strongly recommended: 1. supports the transmission of RTP, AVP, and UDP. the request contains the User-Agent header. identify SDP Session Description 4. receives media initialization information (such as SDP) from standard input, command line, and other system environments in the form of plug-ins. Others: 1. apsaravideo for VOD playback is supported. The PAUSE request, REDIRECT method, and Location header must be implemented. the authentication function is supported and must be implemented as follows:. identify Status Code 401 B. parse and include the WWW-Authenticate header c. basic Authentication and digest authentication II. The server must implement: 1. implementation Method: SETUP, TEARDOWN, OPTIONS, PLAY (minial playback server)/RECORD + ANNOUNCE (minial recording server) 2. response Header: Connection, Content-Length, Content-Type, Content-Language, Content-Encoding, Transport, Public. + (RECORD: Location; RTP-compliant: RTP-Info) 3. correct Response Request Header: Connection, Session, Transport, Require. strongly recommended: 1. supports the transmission of RTP, AVP, and UDP. the response contains the Server header. DESCRIBE Method 4. other content of SDP description generated: 1. the VOD playback function is supported and must be implemented as follows:. identify the Range header. If positioning fails, error information B is returned. the PAUSE method is strongly recommended for the On-Demand Streaming Media Server c. the Range header supports the expression of "d" in the format of "virtual border" ("virtual border") and "SMPTE. the media initialization information contains the length of the media demo c. specifies the timestamp of the ing media to the NTS unit to provide interface control information. 2. the customer authentication function must be supported:. 401 status code B is generated when the requested resource requires authentication. parse and include the WWW-Authenticate header c. basic Authentication and digest Authentication

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.