RTSP · JSON Structure

Rtsp Session Structure

JSON structure documentation for RTSP protocol concepts (RFC 7826)

Type: Properties: 0
StreamingVideoMediaProtocolReal-Time

Rtsp Session Structure is a JSON Structure definition published by RTSP.

Meta-schema:

JSON Structure

rtsp-session-structure.json Raw ↑
{
  "title": "RTSP Protocol Data Structures",
  "description": "JSON structure documentation for RTSP protocol concepts (RFC 7826)",
  "version": "2.0",
  "entities": {
    "Session": {
      "description": "An RTSP streaming session between client and server",
      "fields": {
        "sessionId": { "type": "string", "description": "Server-assigned session identifier", "required": true },
        "url": { "type": "string", "description": "RTSP stream URL (rtsp://...)", "required": true },
        "state": {
          "type": "string",
          "description": "State machine: Init | Ready | Playing | Recording",
          "required": true
        },
        "transport": { "type": "string", "description": "Transport spec (RTP/AVP;unicast;client_port=...)" },
        "timeout": { "type": "integer", "description": "Session keepalive timeout in seconds" },
        "sdp": { "type": "string", "description": "SDP payload from DESCRIBE response" }
      }
    },
    "Request": {
      "description": "An RTSP request message",
      "fields": {
        "method": {
          "type": "string",
          "description": "RTSP method: OPTIONS | DESCRIBE | SETUP | PLAY | PAUSE | TEARDOWN | RECORD | ANNOUNCE | GET_PARAMETER | SET_PARAMETER",
          "required": true
        },
        "url": { "type": "string", "description": "Request URI (rtsp:// URL or *)", "required": true },
        "cseq": { "type": "integer", "description": "CSeq sequence number for matching responses", "required": true },
        "session": { "type": "string", "description": "Session header value" },
        "transport": { "type": "string", "description": "Transport header for SETUP requests" }
      }
    },
    "Response": {
      "description": "An RTSP response message",
      "fields": {
        "statusCode": {
          "type": "integer",
          "description": "Status code: 200 OK, 404 Not Found, 461 Unsupported Transport, etc.",
          "required": true
        },
        "reasonPhrase": { "type": "string", "description": "Human-readable status description" },
        "cseq": { "type": "integer", "description": "CSeq matching the request", "required": true },
        "session": { "type": "string", "description": "Session ID (for stateful responses)" },
        "contentType": { "type": "string", "description": "Content-Type of response body" },
        "body": { "type": "string", "description": "Response body (SDP for DESCRIBE, etc.)" }
      }
    }
  }
}

Work with this as data

Every JSON Structure here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Structure
curl "https://apis.io/api/v1/json-structures/rtsp-session-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.