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.Latency is read on every sample
latencyMs in the stats event 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: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-sdk2.0.0-beta.2 and@streampixel/ui2.0.0-beta.2.streampixelsdk2.0.0-beta.3: the v1 API running on this engine, for a v1 page that keeps its code. See Migrating from v1.
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.
- 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. - Access. A page follows the project’s access setting: public, password or single sign-on. See Access.
- Reconnection and recovery without code in your page. See Reliability.
- Ready-made screens in
@streampixel/ui. See UI overlays. - Shared sessions, voice chat and Test locally. See Shared sessions, Voice chat and Test locally.
Next steps
Engine and updates
How an engine release reaches your page, and how to pin a version.
Installation
Install or update the packages.