Skip to content
Back to skills

Go2rtc Cameras

ASecurity

Multi-camera RTSP to WebRTC streaming via go2rtc

  • 3,072 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added May 26, 2026
devopspythongobashapi

Works with

  • api

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 3 files and shows the line behind each finding

Scanned May 27, 2026

npx -y skills add SharpAI/DeepCamera --skill go2rtc-cameras --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Go2rtc Cameras?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Go2rtc Cameras
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sharpai-go2rtc-cameras/badge)](https://www.skillsdirectory.com/skills/sharpai-go2rtc-cameras)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: go2rtc-cameras
description: "Multi-camera RTSP to WebRTC streaming via go2rtc"
version: 1.0.0

parameters:
  - name: streams
    label: "RTSP Stream URLs"
    type: string
    description: "Comma-separated camera_name=rtsp://... entries"
    placeholder: "front_door=rtsp://192.168.1.100:554/stream1"
    required: true
    group: Streams

capabilities:
  live_stream:
    script: scripts/stream.py
    description: "Register RTSP streams with go2rtc for WebRTC playback"
---

# go2rtc Multi-Camera Streaming

Registers RTSP camera streams with SharpAI Aegis's go2rtc sidecar for low-latency WebRTC live view in the browser.

## How It Works

```
Your Cameras (RTSP)          go2rtc (in Aegis)           Browser
───────────────────          ─────────────────           ───────
rtsp://cam1:554/stream ───►  /api/webrtc?src=cam1  ───► WebRTC Player
rtsp://cam2:554/stream ───►  /api/webrtc?src=cam2  ───► WebRTC Player
rtsp://cam3:554/stream ───►  /api/webrtc?src=cam3  ───► WebRTC Player
```

## Supported Sources

go2rtc accepts any stream source:
- `rtsp://` — standard RTSP cameras
- `rtmp://` — RTMP streams
- `http://` — MJPEG or HLS streams
- `ffmpeg:` — FFmpeg pipeline
- `exec:` — custom command

## Protocol

### Skill → Aegis (stdout)
```jsonl
{"event": "ready", "streams": 3}
{"event": "live_stream", "camera_id": "front_door", "camera_name": "Front Door", "url": "rtsp://192.168.1.100:554/stream1"}
{"event": "live_stream", "camera_id": "backyard", "camera_name": "Backyard", "url": "rtsp://192.168.1.101:554/stream1"}
```

Aegis registers each stream with go2rtc via IPC:
- `go2rtc:add-stream` → registers camera
- `go2rtc:connection-info` → returns WebRTC URL for player

## Setup

```bash
python3 -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
```

Files in this skill

  • SKILL.md1.9 KB
  • requirements.txt106 B
  • scripts/stream.py2.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.