`openwatchparty` keeps players in different apps in sync in one room. Each person in the room plays their own copy of the title, and a relay keeps the copies together. The SDK implements the client behaviour in [`spec/SDK.md`](../../spec/SDK.md). This page names the rules the SDK follows, and SDK.md explains them in full. ## Install ```sh npm install openwatchparty ``` ## Requirements The package runs in Node and in browsers from these versions on: | Runtime | Minimum | |---|---| | Node | 22 | | Chrome / Edge | 119 | | Firefox | 121 | | Safari | 17.4 | The package is ESM only, with no `require` condition, and it has no runtime dependencies. TypeScript consumers need the `dom` lib, or `skipLibCheck`. A global `WebSocket` must exist, even when you pass a custom `connect`. ## Quick start This example runs in a browser page with a `