Skip to content

1.0.6

Choose a tag to compare

@WengYuehTing WengYuehTing released this 13 Sep 17:52
· 64 commits to main since this release

What's New

  • Added Chinese and English localization to XLab and SDK diagnostics.
  • Improved realtime lifecycle handling, including local preparation, preview readiness, generation cancellation, and camera orientation changes.
  • Added optional microphone capture for camera input and independent local-preview and remote-playback volume controls.
  • Added ordered remote video frame callbacks and configurable video upload bitrate and encoder preference.
  • Improved model selection and XLab's realtime interface.

API Changes

  • RealtimeState now reports PREPARING and READY and carries completion or failure details in state.reason (RealtimeReason). The former disconnectionReason, DISCONNECTED, and ERROR states are removed.
  • setRemoteVideoFrameListener() exposes post-processed remote frames. createLocalCameraStream() accepts an optional useMicrophone argument, and RealtimeVideoFormat accepts bitrate and encoder-preference options.
  • RealtimeModel.X2_0_PRO replaces X2_0_SLA.
  • Removed the separate error and camera-preview-ready listeners, stopGeneration(), RealtimeMediaSource, and XmaxErrorSeverity. Observe lifecycle failures and readiness through setStateListener(); use disconnect() to cancel an active connection or generation.