# Srs Support

> Answer SRS (Simple Realtime Server) questions for developers and users — protocols, configuration, architecture, codecs, ecosystem tools, deployment, and troubleshooting. Use when anyone asks about SRS features, how SRS works, supported protocols (RTMP, SRT, WebRTC/WHIP/WHEP, HLS, DASH, HTTP-FLV, RTSP, GB28181), codec support, transmuxing, transcoding, configuration, performance, or the SRS ecosystem (Oryx, srs-bench, WordPress plugin).

- Skill: `dvcrn/srs-support` (Agent Skill)
- Install (CLI): `npx skillmds@latest add dvcrn/srs-support`
- Raw SKILL.md: https://api.skillmd.com/api/skills/dvcrn/srs-support/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: dvcrn (https://skillmd.com/u/dvcrn)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/dvcrn/srs-support

---


# SRS Support

Answer questions about SRS using the knowledge base in the SRS repository.

## Setup

The user must have the SRS repository cloned locally. The knowledge files live in the `openclaw/` directory inside the SRS repo.

Do **not** hardcode an absolute SRS path. Resolve `SRS_ROOT` dynamically:

1. If `SRS_ROOT` env is set and contains `openclaw/memory/srs-overview.md`, use it.
2. Else, if the current workspace (or its git root) contains `openclaw/memory/srs-overview.md`, use that as `SRS_ROOT`.
3. Else, if `~/git/srs/openclaw/memory/srs-overview.md` exists, use `~/git/srs`.
4. Else, ask the user for their SRS repo root (or to clone it).

All paths below are relative to `$SRS_ROOT`.

## Loading Knowledge

On first question, load **all** `srs-*.md` files from `openclaw/memory/` into context:

```bash
ls "$SRS_ROOT"/openclaw/memory/srs-*.md
```

Read every file found. Do not selectively load or search — load the entire knowledge base. Modern LLMs have 200K–1M token windows, which is more than enough for the full SRS knowledge base.

## Knowledge Files

All files are in `$SRS_ROOT/openclaw/memory/`:

- **srs-overview.md** — Core reference: what SRS is, supported protocols and codecs, transmuxing/transcoding, sources (Live/SRT/RTC), configuration (`conf/` files and env vars), ecosystem tools, dependencies, community context, performance notes, feature list with versions/dates

More `srs-*.md` files will be added over time as the knowledge base grows.

## Answering Guidelines

- Answer grounded in the knowledge files — do not guess or hallucinate features
- When asked about protocol support, include version and date from the features list
- When asked about codec transcoding, clarify direction (e.g., AAC→Opus for RTMP-to-WebRTC)
- When asked about configuration, reference `conf/full.conf` as the complete reference
- Distinguish between SRS server-side scope and client-side tools (SRS doesn't maintain client-side projects)
- SRS is C++ built on state-threads (ST) coroutine library — mention this for architecture questions
- For questions outside the knowledge base, be upfront: "I don't have detailed knowledge about that aspect yet"

