What's New?

Release Notes - WebAR SDK v2.0.8

New Features

External Camera Stream Support

  • SDK now supports external camera streams.

  • Introduced external-camera-stream configuration option.

  • API method for setting the camera stream[See API reference for more details]:

WEBARSDK.SetCameraStream(yourVideoStream);

Minimal UI Mode

  • Provides a clean, distraction-free UI.

  • Enabled via configuration:

minimal-ui="true"
  • Optional splash screens.

Enhanced Error & Progress Handling

  • New standardized error codes for precise diagnosis, allowing custom UI display. [See SDK Configuration Properties for more details]

  • Unified callback handlers for errors and progress:

onError: (error) => { /* handle error */ },
onProgress: (progress) => { /* handle progress */ }

Enhancements

Improved Marker Tracking

  • Enhanced stability and tracking accuracy.

  • Reduced false marker detection (lift-off) issues.

Performance & Stability Optimizations

  • Improved FPS on less-featured surfaces, significantly enhancing stability.

New SDK Configuration Properties

Configuration Option

Description

Default

external-camera-stream

Enables external camera streams

false

minimal-ui

Enables minimal UI mode

false

auto-start-tracking

Auto-starts tracking upon SDK load

true

on-error

Enables custom error handling callbacks

{}

on-progress

Enables custom progress handling callbacks

{}

Last updated