Skip to content

React Native SDK Release Notes ​

2.5.3 ​

tirtc-react-native@2.5.3

Improved

  • Native audio output uses a larger bounded playback buffer and records output health diagnostics, making audio output problems easier to analyze from uploaded logs.

Fixed

  • Fixes some native audio output buffers not being retained when Ti Cloud Storage playback is paused and then resumed on Android and iOS, which made video continue without sound after resuming.

Compatibility

  • The public API is the same as 2.5.2; requires React Native >=0.80.0 with the New Architecture enabled.

Dependency upgrades

  • Android and iOS native SDK dependencies are upgraded to 2.5.3.

2.5.2 ​

tirtc-react-native@2.5.2

Fixed

  • Fixes Ti Cloud Storage playback playing video without sound on iPhone: iOS now uses TiRTC 2.5.2, which keeps the audio session active while the recording output is attached.

Dependency upgrades

  • The iOS native SDK is upgraded to 2.5.2; the Android native SDK remains 2.5.0.

2.5.0 ​

tirtc-react-native@2.5.0

Added

  • TiRtcAudioInputOptions gains the media field, which can use the audio format values of the device-side C SDK TIRTCMEDIA directly. The field is additive for compatibility; existing audio input configuration keeps working after the upgrade.
  • Added diagnostic capture APIs for raw audio and video that can capture specified downlink audio and video and local uplink audio by Stream ID, submitted with the next log upload after capture stops.
  • Added 6136 (the current network is unavailable) and 6137 (the service address domain cannot be resolved) error codes for synchronous RTC connection failures, so applications can use different recovery strategies.

Improved

  • Improved the default smoothed audio playback policy, reducing jitter and accumulated delay caused by network jitter, packet bursts, short-term packet loss, or data backlog.
  • Strengthened video resolution hot switching on the same Stream ID. Switching does not require rebuilding the connection, subscription, Video Output, or render View, and the new size is reported after the new picture is actually rendered.
  • Extended the audio format compatibility of local MP4 saving.

Fixed

  • Fixed the old playback timeline possibly continuing to affect later playback when frame timestamps are abnormal or when all receiving stops and a new source is subscribed.
  • Fixed successfully generated MP4 or JPEG files possibly expiring early after the related tasks, output objects, or the SDK close.

Dependency upgrades

  • The Android and iOS native SDK dependencies are upgraded to 2.5.0 together.

2.4.1 ​

tirtc-react-native@2.4.1

Added

  • Ti Cloud Storage adds error codes for a missing recording file (6134) and a failed recording file download (6135); 6122 explicitly means the recording file was downloaded but the SDK cannot decrypt or parse valid audio and video frames.

Improved

  • Ti Cloud Storage HTTP debug logs add redacted request, response, and cURL templates, making it easier to locate request parameter, remote response, and download-stage errors.
  • The Android and iOS native dependencies are upgraded to 2.4.1 together.

Fixed

  • Ti Cloud Storage supports playing AAC recordings whose every frame contains a complete ADTS header.

2.4.0 ​

tirtc-react-native@2.4.0

Added

  • Support saving one playing video stream and optionally one audio stream as a local MP4, and moving the file into the system media library.
  • Support saving the current video picture as JPEG with a custom file name.

Improved

  • Adaptive audio playback is enabled by default, reducing playback backlog and delay after network data arrives in bursts.
  • The Android and iOS native dependencies are upgraded to 2.4.0 together.

Fixed

  • Fixed the application possibly reading the old output route state after switching the audio output device.
  • Fixed catch-up decoding after network jitter possibly being reported as insufficient buffering.

2.3.1 ​

tirtc-react-native@2.3.1

Fixed

  • Fixed playback delay possibly increasing gradually when audio and video data arrives in bursts after a short interruption in specific network jitter scenarios.

Dependency upgrades

  • The Android and iOS native dependencies are upgraded to 2.3.1 together.

2.3.0 ​

tirtc-react-native@2.3.0

Added

  • Support adjusting audio playback volume.

Improved

  • The Android and iOS native dependencies are upgraded to 2.3.0 together.
  • Improved log initialization and write stability on Android.

Fixed

  • Fixed possible playback timing anomalies in video-only scenarios.
  • Fixed the software decoder startup phase possibly being misjudged as a failure.
  • Fixed remote audio and video subscription possibly not taking effect in specific connection timing.

2.2.0 ​

The first release of the React Native client SDK; the npm package is tirtc-react-native@2.2.0.

Supported capabilities

  • Supports React Native New Architecture applications on Android and iOS.
  • Supports connecting to the device side and playing the audio and video that the device sends.
  • Supports bidirectional command messages and stream messages between the client and the device side.
  • Supports voice talkback: the client can capture microphone audio and send it to the device side.

TiRTC