What's New
- Add X2.0-PRO support, 30 fps defaults for X2.0, and configurable video encoding.
- Add service environments, runtime metadata, and localized XLab pages.
- Improve realtime state transitions, room signaling, audio controls, and failure cleanup.
- Add native logging, localized diagnostics, media metadata, and generation startup timings.
- Fix delayed remote video presentation and black frames when stopping generation.
- Add
XmaxRealtimeVideoView.onRemoteVideoReady to dismiss loading overlays when remote video starts appearing.
- Improve photo-library selection and rapid reference-image changes in XLab.
API Changes
- Replace
setErrorListener and setCameraPreviewReadyListener with setStateListener: use ready for preview readiness and state.reason?.error for runtime failures. Direct method failures still throw through their Futures.
- Remove
XmaxError.severity; add audio-volume getters and disconnect(reason:).
- Remote audio defaults to muted after camera stream creation. Call
setRemoteAudioVolume after creating the stream to enable playback.
Installation
dependencies:
xmax_sdk: ^1.0.2