pi-webrtc

JavaScript client SDK

The JavaScript client — connect over MQTT, LiveKit or Cloudflare, with guides and the API reference for playing and controlling a stream.

Getting Started

Install the SDK and show live video from a pi-webrtc device.

Guides

Short, complete examples for each task. Most examples use an MqttCamera: deviceId must match the --uid of the device, and the MQTT settings are for the broke...

API Reference

Everything that @mazupo/client exports. Pick the class for the way your device connects. All three are connections, so most of their API is the same.

More