跳到正文
cccskills
免费在 GitHub 公开

go2rtc-cameras

Multi-camera RTSP to WebRTC streaming via go2rtc

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(3)

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

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Dataset annotation management — COCO labels, sequences, export, and Kaggle upload

中文简介正在准备中。当前显示原文说明。

SharpAI/DeepCamera31032026年9月17日 更新

Eufy camera integration — local RTSP streaming and event clips

中文简介正在准备中。当前显示原文说明。

SharpAI/DeepCamera31032026年9月17日 更新

Reolink camera integration — RTSP and HTTP API

中文简介正在准备中。当前显示原文说明。

SharpAI/DeepCamera31032026年9月17日 更新

TP-Link Tapo camera integration — RTSP streaming and ONVIF

中文简介正在准备中。当前显示原文说明。

SharpAI/DeepCamera31032026年9月17日 更新

LINE messaging channel for Clawdbot agent

中文简介正在准备中。当前显示原文说明。

SharpAI/DeepCamera31032026年9月17日 更新

Matrix/Element messaging channel for Clawdbot agent

中文简介正在准备中。当前显示原文说明。

SharpAI/DeepCamera31032026年9月17日 更新

查看 SharpAI 的全部技能

报告此技能的问题