Skip to content

1.1.5

Latest

Choose a tag to compare

@WengYuehTing WengYuehTing released this 28 Nov 21:34

What's New

  • Add VeRTC or TRTC with the optional ai.xmax:xmax-vertc and ai.xmax:xmax-trtc modules. Agora is included by default.
  • Apply beauty effects to generated video across previews, frame callbacks, and recordings made from those callbacks.
  • Image uploads now default to JPEG at 90% quality and proportionally resize images that exceed 2,073,600 pixels.

API Changes

  • Rename options to configuration in createRealtimeManager() calls and on the realtime manager. Use RealtimeConfiguration.provider to select RTC and pass model as a built-in enum or server model ID.
  • Enable result beauty with setRealtimeBeauty(RealtimeBeautyOption(...)) and disable it with setRealtimeBeauty(null).
  • Rename RealtimeCameraPreset to RealtimeCameraFormat and currentCameraPreset to currentCameraFormat. In createLocalCameraStream(), replace position, useMicrophone, and preset with camera, microphone, and videoFormat.
  • Use uploadImage() and uploadVideo() for byte arrays, files, and local paths. Set safetyCheck = true to check uploaded images or compression = false to preserve the original image.