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

# Web SDK changelog

> What changed in each version of the Streampixel Web SDK (@streampixel/web-sdk and @streampixel/ui): 2.0.0-beta.2 and 2.0.0-beta.1.

All levels For anyone who wants to know what changed in a version of the Web SDK, and whether their page needs a new install to get it.

> [!NOTE]
>
> The SDK has two parts with their own versions. The **package** is what you install from npm (`SDK_VERSION`). The **engine** is downloaded when `create()` runs (`stream.engineVersion`), so engine fixes reach your page without a new install, unless you pinned an engine version. See [Engine and updates](https://docs.streampixel.io/resources/web-sdk-v2/engine-and-updates.md).

**2.0.0-beta.2**

16 November 2026

## Latency is read on every sample

`latencyMs` in the [`stats` event](https://docs.streampixel.io/resources/web-sdk-v2/events-and-states#streamstats) could read `0` for a moment while the browser was checking the connection. The session statistics in the dashboard are written once a minute, so they could then show a latency of 0 ms for that minute.

The SDK now reads the connection that is in use on every sample. When the browser has no reading at that moment, the SDK keeps the last real value.

This fix is in the engine. Pages on the `stable` and `beta` channels get it without a new install.

## The name is `Streampixel`

The public name is `Streampixel`, with a lower-case p:

```ts theme={"dark"}
import { Streampixel, type StreampixelOptions, type StreampixelEvents } from '@streampixel/web-sdk';

const stream = await Streampixel.create({ appId: 'YOUR_PROJECT_ID', container });
```

The script-tag build defines `window.StreampixelSDK`.

The names of 2.0.0-beta.1 (`StreamPixel`, `StreamPixelOptions`, `StreamPixelEvents` and `window.StreamPixelSDK`) still work and mean the same things. They are marked as deprecated. No code has to change.

This change is in the package. Install 2.0.0-beta.2 to use the new name from npm.

## Packages

* `@streampixel/web-sdk` 2.0.0-beta.2 and `@streampixel/ui` 2.0.0-beta.2.
* `streampixelsdk` 2.0.0-beta.3: the v1 API running on this engine, for a v1 page that keeps its code. See [Migrating from v1](https://docs.streampixel.io/resources/web-sdk-v2/migration.md).

**2.0.0-beta.1**

16 November 2026

## First public beta

The first public version of the Web SDK v2, on npm as `@streampixel/web-sdk` and `@streampixel/ui`, and as a script tag at `https://js.streampixel.io/v2/loader.js`.

What it brings:

* **One stream object** with typed states, events and errors. See [Quick start](https://docs.streampixel.io/resources/web-sdk-v2/quick-start.md).
* **A loader and an engine.** The package is a small loader. The engine that runs the stream is downloaded and verified when `create()` runs, so fixes arrive without a new install. See [Engine and updates](https://docs.streampixel.io/resources/web-sdk-v2/engine-and-updates.md).
* **Access.** A page follows the project's access setting: public, password or single sign-on. See [Access](https://docs.streampixel.io/resources/web-sdk-v2/access.md).
* **Reconnection and recovery** without code in your page. See [Reliability](https://docs.streampixel.io/resources/web-sdk-v2/reliability.md).
* **Ready-made screens** in `@streampixel/ui`. See [UI overlays](https://docs.streampixel.io/resources/web-sdk-v2/ui-overlays.md).
* **Shared sessions, voice chat and Test locally.** See [Shared sessions](https://docs.streampixel.io/resources/web-sdk-v2/shared-sessions.md), [Voice chat](https://docs.streampixel.io/resources/web-sdk-v2/voice-chat.md) and [Test locally](https://docs.streampixel.io/resources/web-sdk-v2/test-locally.md).

## Next steps

> [card] [Engine and updates](https://docs.streampixel.io/resources/web-sdk-v2/engine-and-updates.md)
>
> How an engine release reaches your page, and how to pin a version.

> [card] [Installation](https://docs.streampixel.io/resources/web-sdk-v2/installation.md)
>
> Install or update the packages.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.