WebRTC streaming SDK for Daydream — real-time AI video processing.
| Package | Description |
|---|---|
@daydreamlive/browser |
Core WebRTC client |
@daydreamlive/react |
React hooks |
npm install @daydreamlive/browser
npm install @daydreamlive/react| Example | Description | Demo |
|---|---|---|
| with-react | Basic React hooks usage | Live Demo |
| with-compositor | Canvas composition + streaming | Live Demo |
| with-screen-share | Screen capture with AI processing | Live Demo |
| with-three | Three.js canvas streaming | Live Demo |
| with-vanilla | Pure JS without React | — |
Backend (your server) Browser
┌─────────────────────┐ ┌──────────────────────────┐
│ @daydreamlive/sdk │ │ @daydreamlive/browser │
│ - createStream() │──────▶│ - WHIP (broadcast) │
│ - updateStream() │ │ - WHEP (playback) │
└─────────────────────┘ └──────────────────────────┘
│ │
└──────── whipUrl ─────────────┘
MIT