Skip to content

1.0.4

Choose a tag to compare

@WengYuehTing WengYuehTing released this 11 Sep 06:44
· 47 commits to main since this release

What's New

  • Added X2.0 Pro with fixed portrait and landscape input resolutions and model-specific camera defaults.
  • Improved realtime concurrency, lifecycle cleanup, camera switching, microphone capture, and source-specific audio behavior.
  • Added adaptive RTC upload bitrate configuration based on video size and frame rate.
  • Refined startup timing, categorized logging, and Android task and frame identifiers.
  • Updated XLab with localized Chinese and English home content, persistent model selection, and language-based China or global environment routing.

API Changes

  • Added RealtimeModel.X2_0_PRO and model input sizing metadata, including resolution buckets, pixel bounds, alignment, default frame rate, and default camera format.
  • Added RealtimeVideoEncoderPreference and optional minimum bitrate, maximum bitrate, and encoder preference properties to RealtimeVideoFormat.
  • Added camera stream overloads with model defaults and the useMicrophone option.
  • Added model selection to createMediaService() while preserving its Java-compatible no-argument overload.
  • Removed XmaxRealtimeManaging.stopGeneration(); call disconnect() to stop generation and release the active connection.
  • Changed close() to retain registered public listeners so their lifecycle remains controlled by the caller.