StreamPixelApplication is the SDK entry point. It accepts a settings object and returns the core streaming instance plus helper utilities.
Signature
Parameters
Thesettings object accepts the following properties:
Return value
Returns an object with five properties:null if the project’s URL validation fails (when the current origin is not in the project’s allowed URLs list).
Returns {} if called more than once (singleton guard).
Singleton behavior
URL validation
The SDK checks
window.location.origin against the project’s validPathUrl list configured in the dashboard. If the origin doesn’t match, null is returned. localhost is always allowed for development.Next steps
Configuration options
Detailed reference for every settings field, organized by category.
pixelStreaming API
Methods and events on the returned
pixelStreaming instance.