# AlexxIT/WebRTC

Home Assistant custom component for real-time viewing of almost any camera stream using WebRTC and other technologies.

Repository: https://github.com/AlexxIT/WebRTC
Canonical: https://ross.abutalabs.com/products/alexxit-webrtc
Language: JavaScript
License: MIT
License Family: permissive
Topics: webrtc, rtsp, ip-camera, mediasource-extensions, home-assistant, hacs
Last push: 2025-11-26T10:15:48+00:00

## Health v2 (maintenance only)
Score: 48/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 54, release rhythm 10, longevity 100
- inputs: {"age_days": 1970, "days_push": 280, "days_rel": 385, "gap_med": 305, "n_releases_24m": 2}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2168, forks 237 (observed 2026-08-28T04:06:21.458716+00:00)

## What it is
A Home Assistant custom component that enables real-time low-latency viewing of camera streams using WebRTC, powered by the go2rtc streaming server. It supports many camera sources (RTSP, RTMP, HTTP, HomeKit, USB) and automatically selects the best streaming technology based on codecs and browser capabilities.

## Use cases
- view RTSP IP cameras in Home Assistant with low latency
- stream cameras to a browser via WebRTC
- add a custom Lovelace card for live camera feeds
- get two-way audio from a doorbell camera
- send camera snapshots to Telegram
- cast or share a camera stream
- transcode unsupported camera codecs on the fly

## When to choose
- you use Home Assistant and want near-real-time camera viewing instead of laggy HLS streams
- your cameras speak RTSP/RTMP/HomeKit and you want broad protocol support
- you need low-latency streaming with automatic technology selection
- you want two-way audio or snapshot automation

## When to avoid
- you don't use Home Assistant (use go2rtc directly instead)
- you need a fully hardened setup out of the box - go2rtc's web UI on port 1984 is unauthenticated by default
- you only need simple snapshot-based camera cards without live streaming

## Facets
- artifact type: plugin
- maturity: active
- function: video-processing, streaming, plugin-system
- domain: iot, self-hosted
- platform: self-hosted, browser
- tags: home-assistant, hacs, webrtc, rtsp, ip-camera, go2rtc, low-latency-streaming, custom-component, video, web-server

## Member repositories
- AlexxIT/WebRTC (main) score 48

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:21.458716+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:49:28.803474+00:00, confidence not recorded.
  - readme: https://github.com/AlexxIT/WebRTC (fetched 2026-08-28T04:06:21.458716+00:00, sha 0d5764951dc3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
