# webrtc/samples

WebRTC Web demos and samples

Repository: https://github.com/webrtc/samples
Canonical: https://ross.abutalabs.com/products/samples
Homepage: https://webrtc.github.io/samples
Language: JavaScript
License: BSD-3-Clause
License Family: permissive
Last push: 2026-07-14T15:15:13+00:00

## Health v2 (maintenance only)
Score: 74/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 92, release rhythm 35, longevity 100
- inputs: {"age_days": 4730, "days_push": 50, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 14640, forks 5678 (observed 2026-08-28T04:11:07.367373+00:00)

## What it is
A collection of JavaScript demos and code samples demonstrating the WebRTC APIs, hosted at webrtc.github.io/samples. It covers media capture (getUserMedia/getDisplayMedia), RTCPeerConnection, data channels, SDP munging, and WebRTC statistics.

## Use cases
- learn how to use getUserMedia to access camera and microphone
- test peer connection between two browser tabs
- see how to negotiate data channels in WebRTC
- experiment with SDP munging and codec selection
- capture and record media streams in the browser
- try screensharing with getDisplayMedia
- check WebRTC stats and constraints handling

## When to choose
- you are learning the WebRTC APIs and want runnable browser examples
- you need reference code for media capture or peer connection patterns
- you want to verify WebRTC behavior across browsers using adapter.js

## When to avoid
- you need a production-ready WebRTC application or signaling server
- you want a library or SDK to embed rather than example code
- you need help debugging general WebRTC issues unrelated to the samples

## Facets
- artifact type: learning-resource
- maturity: active
- function: web-framework, developer-tools, audio-processing, video-processing
- domain: web-development, developer-tools, tutorials, media
- platform: browser
- tags: webrtc, demos, samples, peer-connection, getusermedia, mediastream, adapter-js, javascript, nodejs, web

## Member repositories
- webrtc/samples (main) score 74

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:07.367373+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-29T17:12:26.795534+00:00, confidence not recorded.
  - readme: https://github.com/webrtc/samples (fetched 2026-08-28T04:11:07.367373+00:00, sha 0cd924d9e36c)
  - homepage: https://webrtc.github.io/samples (fetched 2026-08-29T08:05:53.385473+00:00, sha 4d449781a3a4)
- Data as of 2026-08-30T08:39:29.467469+00:00.
