> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hyperwisor.com/llms.txt
> Use this file to discover all available pages before exploring further.

# WebRTC Viewer

> Watch a live WebRTC camera stream.

<Info>
  **Category:** Display · **Displays:** a WebRTC stream · **Pairs with:** WebRTC Camera
</Info>

## Mental model

A **WebRTC Viewer is a live monitor.** It plays a real-time video stream published by
a [WebRTC Camera](/dashboard/widgets/webrtc-camera) — low-latency, peer-to-peer.

## When to use it

* Watch a live camera feed on a dashboard
* Monitoring, inspection, surveillance views

## Settings

### General

* **Widget Title / ID**
* **Camera ID** · **Room name** — must match the publishing camera
* **Server URL** — signaling server
* **Auto connect** · **enable audio**

### Triggers

`loaded`, `error`, plus common events.

## Script API example

The same interactions from a [dashboard script](/script/overview):

```js theme={null}
widget.on('feed', 'loaded', () => widget.setText('feedStatus', 'Live'));
widget.on('feed', 'error',  () => widget.setText('feedStatus', 'Stream error'));
```

<Card title="WebRTC Camera" icon="camera" href="/dashboard/widgets/webrtc-camera">
  The publishing side.
</Card>
