Agent SkillsSharpAI/DeepCamera › go2rtc-cameras

go2rtc-cameras

GitHub

将RTSP等摄像头流注册至go2rtc侧车,实现低延迟WebRTC浏览器直播。支持多种源协议,通过IPC与Aegis交互以注册流并获取播放URL。

skills/streaming/go2rtc-cameras/SKILL.md SharpAI/DeepCamera

Trigger Scenarios

需要查看实时摄像头画面 集成RTSP/RTMP视频流到Web应用

Install

npx skills add SharpAI/DeepCamera --skill go2rtc-cameras -g -y
More Options

Non-standard path

npx skills add https://github.com/SharpAI/DeepCamera/tree/master/skills/streaming/go2rtc-cameras -g -y

Use without installing

npx skills use SharpAI/DeepCamera@go2rtc-cameras

指定 Agent (Claude Code)

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

安装 repo 全部 skill

npx skills add SharpAI/DeepCamera --all -g -y

预览 repo 内 skill

npx skills add SharpAI/DeepCamera --list

SKILL.md

Frontmatter
{
    "name": "go2rtc-cameras",
    "version": "1.0.0",
    "parameters": [
        {
            "name": "streams",
            "type": "string",
            "group": "Streams",
            "label": "RTSP Stream URLs",
            "required": true,
            "description": "Comma-separated camera_name=rtsp:\/\/... entries",
            "placeholder": "front_door=rtsp:\/\/192.168.1.100:554\/stream1"
        }
    ],
    "description": "Multi-camera RTSP to WebRTC streaming via go2rtc",
    "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)

{"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

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

Version History

  • 2264fcb Current 2026-08-20 16:02

Same Skill Collection

skills/analysis/cloud-provider-regression/SKILL.md
skills/analysis/home-security-benchmark/SKILL.md
skills/analysis/homesafe-bench/SKILL.md
skills/analysis/smarthome-bench/SKILL.md
skills/annotation/dataset-annotation/SKILL.md
skills/annotation/dataset-management/SKILL.md
skills/camera-providers/eufy/SKILL.md
skills/camera-providers/tapo/SKILL.md
skills/channels/matrix/SKILL.md
skills/detection/yolo-detection-2026-coral-tpu-macos/SKILL.md
skills/detection/yolo-detection-2026-coral-tpu-win-wsl/SKILL.md
skills/detection/yolo-detection-2026-openvino/SKILL.md
skills/detection/yolo-detection-2026/SKILL.md
skills/integrations/homeassistant-bridge/SKILL.md
skills/segmentation/sam2-segmentation/SKILL.md
skills/training/model-training/SKILL.md
skills/transformation/depth-estimation/SKILL.md
skills/automation/ha-trigger/SKILL.md
skills/automation/mqtt/SKILL.md
skills/automation/webhook/SKILL.md
skills/camera-providers/reolink/SKILL.md
skills/channels/line/SKILL.md
skills/channels/signal/SKILL.md

Metadata

Files
0
Version
2264fcb
Hash
2bb54f3e
Indexed
2026-08-20 16:02

Accueil - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-31 11:25
浙ICP备14020137号-1 $Carte des visiteurs$