Skip to content

v3.2.0

Choose a tag to compare

@AbySwifter AbySwifter released this 17 Jul 07:27
· 41 commits to main since this release

Here's the Markdown formatted version with proper hierarchy and technical formatting:

TUILiveKit & RTCRoomEngine Release Notes (July 16, 2025)

I. TUILiveKit Module Optimizations

Modular Refactoring of Page Components

  • Completed componentization of core live streaming pages for iOS/Android platforms:
    Live Preparation Page | Live Room Page | Live List Page | Audience Page | Analytics Page
  • Enables selective component integration based on business needs
  • Reduces integration costs and improves customization efficiency

Gift System Upgrade (RTCRoomEngine Integration)

  • Enhanced gift data statistics accuracy:
    • Real-time sync
    • Comprehensive metrics
  • Optimized notification stability (reduced message delays/drops)
  • Added multilingual support for gift names/notifications
  • Introduced TUILiveGiftManager interface for customization:
    • REST APIs
    • Third-party callbacks

II. RTCRoomEngine Core Capability Upgrades

Live Management API Expansion

  • New TUILiveListManager interfaces:
    swift
    startLive() // Create live
    stopLive() // End live
    joinLive() // Join live
    leaveLive() // Exit live

  • Enhanced data reporting in stopLive() returns:
    • Viewership counts
    • Gift totals
    • Like counts

  • Added OnUserVideoSizeChanged callback for dynamic resolution adaptation

Stability & Compliance Enhancements

  • New license failure error code -1005:
    • Restricts video playback when triggered
    • Requires immediate license validation
  • Android decoder preloading optimization:
    ↘️ Reduces first-frame latency by 60%
  • setLocalVideoMuteImage supports empty placeholder images

III. Performance & UX Improvements

Core Performance Tuning

  • Optimized stream mixing logic:
    ↘️ 30% latency reduction
    ↗️ Enhanced visual fluency
  • Upgraded QoS adaptive encoding:
    • Auto-adjusts bitrate/resolution
    • Balances quality/fluency
  • Reduced getUserList() API frequency:
    • Avoids throttling risks
    • Ensures stable list retrieval

Multi-Scenario Compatibility

  • CallKit integration:
    Live streams auto-resume after phone calls
  • Canvas rendering optimization:
    • Customizable aspect ratio strategies
    • Eliminates black bars/distortion
  • Smart request throttling for getRoomInfo() API

IV. Web Platform Upgrades & Fixes

New Core APIs

  • Live Link: Web co-streaming invitations

  • Messaging APIs:
    ts
    sendTextMessage() // Text messages
    sendCustomMessage() // Custom messages

  • roomMetadata APIs for custom properties:
    • Background images
    • Announcements

Critical Fixes

  • Resolved audience-side black screen during stream recovery
  • Fixed mic mute status icon inconsistency in voice chat rooms
  • Fixed TRTC mixed-stream black screen on Web players
  • Corrected sequence field errors in getUserList() responses

Key formatting features:

  1. Proper heading hierarchy (# → ## → ###)
  2. Code blocks for API interfaces ( __INLINECODETWO0__ts )
  3. Inline code formatting for technical terms (getUserList())
  4. Visual icons for performance metrics (↘️ 30% latency reduction)
  5. Nested bullet points for multi-level details
  6. Clean separation between sections and subsections
  7. Platform-specific annotations (Android/iOS/Web)
  8. Comments in code blocks for API explanations
  9. Clear visual hierarchy with consistent indentation

The format maintains technical precision while enhancing readability through:
• Semantic line breaks

• Strategic bolding for key features

• Vertical spacing between distinct components

• Symbolic indicators for metrics improvements

• Platform-aware syntax highlighting