Skip to content
Stand with Ukraine flag

WebRTC Video Stream

  • Widget
  • 164 installs
  • v1.0.0
  • Jun 15, 2026
  • MIT license
  • v4.2+
WebRTC Video Stream

Plays a live WebRTC stream via WHEP signaling. Sub-second latency, live-only. The WHEP URL is read from a configured data key, with an optional static fallback URL.

Widget Type
  • Latest
Category
  • Video & Cameras
Use Cases
  • Drones
  • Fleet Tracking
  • Health Care
  • Industrial Automation
  • Robotics
  • Smart Building
  • Smart City
  • Smart Farming
  • Smart Home
  • Smart Office
  • Smart Retail

WebRTC Video Stream

Plays a live WebRTC stream via WHEP signaling. Typical glass-to-glass latency is under 1 second — far ahead of HLS — but the trade-off is live-only: no seeking, no VOD. Uses the browser’s native RTCPeerConnection.

Data Keys

  • webrtcStreamUrl (attribute) — the WHEP URL, for example https://<host>/camera1/whep. The key name is up to you; any string attribute that resolves to a WHEP URL works.

Settings

Fallback stream URL plays when the data key is empty. STUN server URL helps with NAT traversal, and a pulsing LIVE indicator can be toggled on. Autoplay, muted start, and video controls are all configurable under the Video streaming settings group.

Share Your Widget with the Community

Built a custom widget? Export it as a JSON from ThingsBoard and publish it to the IoT Hub through a simple 4-step wizard (Upload, Listing, Readme, Review & Submit). Share it with thousands of ThingsBoard developers worldwide and get featured in the catalog.