Skip to content

WebAR SDK v2.0.8

Choose a tag to compare

@amandeepgini amandeepgini released this 30 May 19:21
· 3 commits to main since this release

What's New – 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:
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 Documentation for 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 Configuration Parameters

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
custom-error-handler Enables custom error handling callbacks false
custom-progress-handler Enables custom progress handling callbacks false