Release Notes (App)
Last updated: 2023-09-19 14:19:39Download PDF
This page includes the version history of TRTC SDK and All-In-One SDK. Please choose the ideal SDK according to your function needs.
TRTC SDK 11.4 Released on Sep 14, 2023
New features
All platforms: `TRTCLocalRecordingParams` adds a new parameter `max_duration_per_file` to control the duration of segmented recording. The path of the segmented file can be obtained through the `onLocalRecordFragment` callback.
Android & iOS: V2TXLivePusher adds a rendering mode setting API `setRenderFillMode` for local preview streaming.
Mac: Added `enableCrashMonitoring` to support capturing crash information and storing it locally. You need to add `TXCCrashMonitor.framework` to your project when using this feature.
Improvements
Cross-platform: Optimized performance in IPv6 network environments.
Cross-platform: Optimized lyric alignment in the online singing scenario.
Cross-platform: Optimized AI noise suppression algorithm for better experience.
Cross-platform: Optimized the smoothness of pure audio playback.
Cross-platform: Optimized the speed of `switchRoom`.
Android & iOS: Optimized and improve the live streaming playback startup speed.
Android & iOS: Optimized audio capture processing strategies to reduce the probability of no audio issue caused by abnormal capture devices.
Android: Optimized callback notifications when the microphone is muted by the system.
Android: Optimized the adaptation of gravity sensor for specific customized Android devices that were providing incorrect screen rotation angles.
Android: Optimized the rendering process to support closely following pinch-to-zoom, which means the view undergoes simultaneous scales and moves, closely following the movements of the fingers during pinch-to-zoom. Improving the user experience during floating window playback.
iOS: Optimized the audio capture strategy when app in the background state to reduce the probability of no audio issue caused by system interruption.
iOS: Optimized the speed of audio device restarts.
TRTC SDK 11.3 Released on July 7, 2023
New features
All Platforms: Added trapezoid correction for video (only supported by the Professional version) for manual correction of perspective distortion. See `setPerspectiveCorrectionPoints` for details.
All Platforms: Added audio spectrum callback, which can be used for sound wave animation or volume spectrum display. See `enableAudioVolumeEvaluation` and `TRTCVolumeInfo` for details.
All Platforms: Added a new reverb effect "Studio 2". See `TXVoiceReverbType` for details.
All Platforms: Added SEI parameter settings for mixed stream, used for transport SEI infomation when publishing stream to CDN. See `TRTCTranscodingConfig` for details.
Windows: Added real-time music scoring for Yinsuda Authorized Music, which can be used for real-time scoring of online singing. See `createSongScore` for details.
iOS & Android: Added support for .ogg format music files in `startPlayMusic`.
Flutter: Added `setSystemAudioLoopbackVolume`(iOS).
Improvements
All platforms: Optimized adaptive digital gain algorithm to improve listening experience.
All platforms: Optimized the loading speed of the first video frame after entering the room.
All platforms: Optimized weak network resistance for single user streaming to improve smoothness under network delay and jitter.
Android: Optimized audio capture and playback feature to avoid abnormal sound issues on some Android devices.
Android: Optimized video sub-stream hardware encoding performance, improving quality of screen sharing.
iOS: Optimized audio device restart strategy to reduce the occurrence of sound interruptions.
iOS & Android: Removed on-demand related interfaces from `TXLivePlayer`. For on-demand video playback, please use `TXVodPlayer`.
Bug fixing
Android: Fixed the issue where some locally recorded videos on Android 12 and above system versions cannot be played on Apple's Safari.
TRTC SDK 11.2 Released on June 5, 2023
TRTC
New features
Cross-platform: Supports seamless switching between instrumentals and original vocals of BGM in duet scenes. See `setMusicTrack` for details.
Android: To be compatible with the foreground service launch restrictions on Android 12 and above, a foreground service is initiated during screen capture. See `enableForegroundService` for details.
iOS: Supports use in the Xcode simulator running on Apple chip hardware.
Mac: `TRTCScreenSourceInfo` adds property value width and height.
Improvements
Cross-platform: Optimized sound quality in duet scenes, and reduced end-to-end latency.
Cross-platform: Optimized performance when turning on/off microphone, providing a smoother experience.
Cross-platform: Optimized audio experience under extremely bad networks.
Cross-platform: Optimized weak network experience when broadcast live stream only.
Cross-platform: Optimized the smoothness of switching high-quality and low-quality remote video streams.
Android & iOS: Optimized audio quality in music scenes.
Android & iOS: Optimized the experience with Bluetooth headphones.
Android: Optimized hardware decoder latency, improving the speed of rendering the first video image.
Android: Optimized the in-ear monitoring feature, enhancing the experience when switching on/off in-ear monitoring.
Android: Optimized the audio devices capture compatibility.
iOS: Optimized quality of video, enhancing image clarity.
Bug fixing
Windows: Fixed the occasional screen flickering issue during window sharing.
Mac: Fixed the occasional periodic blurring when using camera with Intel chip hardware encoder.
TRTC SDK 10.8 Released on October 27, 2022
TRTC
New features
All platforms: Added the DJ scratch effect and improved the karaoke experience. For details, see
TXAudioEffectManager.setMusicScratchSpeedRate
.Improvements
Android: Sped up video decoding, which reduces the time to first frame to as short as 50 ms.
All platforms: Improved the accuracy of NTP time. For details, see
TXLiveBase.updateNetworkTime
.Bug fixing
All platforms: Fixed the occasional issue where, when the streams of a room are mixed and pushed to another TRTC room that does not have upstream audio or video, playback fails and callbacks stop working.
All platforms: Fixed the occasional issue where, after an audience member changes their role upon room entry, they fail to publish audio and video due to network type change.
All platforms: Fixed the issue where, after a disconnection, audio quality cannot be changed during reconnection.
All platforms: Fixed the issue where, after a disconnection, there is sometimes no audio in the published stream during reconnection.
Android & iOS: Fixed the issue where
muteRemoteVideoStream
removes the last video frame.TRTC SDK 10.7 Released on September 20, 2022
TRTC
New features
All platforms: You can now independently adjust the audio volume of each stream in On-Cloud MixTranscoding. For details, see
TRTCMixUser.soundLevel
.All platforms: Added the
onRemoteAudioStatusUpdated
API, which is used to monitor the audio status of remote streams.Improvements
All platforms: Upgraded the encoding engine, improving the video quality of screen sharing streams.
All platforms: Improved rate control for encoding under poor network conditions.
Bug fixing
iOS: Fixed the issue of low capturing volume on some iPad devices.
Android: Fixed the occasional issue where Bluetooth earphones are connected, but audio is played from the device’s speaker.
All platforms: Fixed the issue where the SDK occasionally crashes if a user enters and leaves the room repeatedly.
TRTC SDK 10.6 Released on September 9, 2022
TRTC
Improvements
All platforms: Sped up room entry in IPv6 networks.
All platforms: Improved the audio recovery performance and audio-to-video synchronization under bad network conditions, enhancing user experience.
All platforms: Improved the ability to maintain connection under poor network conditions, reducing disconnections.
All platforms: Fixed the issue where the volume is low in the music mode (which is specified when
startLocalAudio
is called).macOS: Improved call experiences when Bluetooth earphones are used, reducing noise and delivering clearer audio.
Android: Supported stereo audio capturing for more devices.
Android: Fixed occasional echoes, improving call experience.
Bug fixing
Android & iOS: Fixed the issue of audio loss in the speech mode (which is specified when
startLocalAudio
is called).macOS: Fixed the issue where echo cancellation occasionally fails to work after the mic is changed.
All-in-One SDK 10.5 Released on August 24, 2022
MLVB
Improvements
Android: Optimized memory management for video decoding, preventing the accumulation of memory leaks.
Windows: Optimized noise suppression for the built-in mic, especially in the music mode.
macOS: Fixed the frequent noise issue when the mic is turned on.
Bug fixing
All platforms: Fixed the issue where, in the LEB scenario with V2TXLivePlayer, SEI messages are sometimes not received.
All platforms: Fixed the issue where, in the LEB scenario with V2TXLivePlayer, audio is missing because the timestamp moves backward.
UGSV
Bug fixing
Android: Fixed the green screen issue in videos made from pictures on HarmonyOS.
Android: Fixed the issue of incorrect length for edited videos.
Android: Fixed failure to play or re-encode videos with multiple audio tracks.
Android: Fixed the issue where the “rock light” effect is applied only once during the selected time period.
Android & iOS: Fixed the issue where, after a video segment is deleted during shooting, the playback progress of the background music does not match.
TRTC
Improvements
All platforms: Optimized the QoS control policy, enhancing user experience under poor network conditions.
iOS & Android: Reduced end-to-end latency and improved in-ear monitoring experience.
Android: Optimized memory management for video decoding, preventing the accumulation of memory leaks.
Windows: Optimized noise suppression for the built-in mic, especially in the music mode.
macOS: Fixed the frequent noise issue when the mic is turned on.
Bug fixing
All platforms: Fixed occasional errors for the OnUserVideoAvailable and OnUserAudioAvailable callbacks when a user enters and leaves different rooms consecutively.
Player
Bug fixing
Android & iOS: Fixed failure to play URLs that do not include video formats at the end.
All-in-One SDK 10.4 Released on July 25, 2022
MLVB
New features
iOS & Android: V2TXLivePlayer can now freeze the last frame after playback ends.
Improvements
All platforms: Fixed the issue of high memory usage when TXLivePlayer\V2TXLivePlayer plays FLV streams.
Android: Fixed occasional playback stutter with TXLivePlayer\V2TXLivePlayer.
Android: Improved the compatibility of low-latency in-ear monitoring and dual-channel capturing.
Android: Optimized the policy for switching from hardware to software decoding.
iOS: Fixed the issue of low capturing volume on iPad.
Bug fixing
Android: Fixed the issue where TXLivePlayer\V2TXLivePlayer occasionally switches to software decoding when playing streams.
UGSV
Improvements
Android: Added the
setBGMLoop
API for video editing.Bug fixing
Android: Fixed the issue of
setWaterMark
not working.Android: Fixed the issue where, when videos are previewed, TXVideoEditor fails to use the specified rendering mode.
TRTC
New features
iOS & Android: Added support for the RGBA32 format for custom capturing. For details, see
sendCustomVideoData
.Windows & macOS: Added support for watermark preview after configuration. For details, see
setWaterMark
.Improvements
Android: Improved the compatibility of low-latency in-ear monitoring and dual-channel capturing.
Android: Optimized the policy for switching from hardware to software decoding.
iOS: Fixed the issue of low capturing volume on iPad.
Bug fixing
All platforms: Fixed occasional room entry/exit callback errors.
Windows: Fixed the issue where, after the window shared changes, the new window is not displayed in full.
Player
Improvements
Android & iOS: Added support for adaptive bitrate HLS playback.
Bug fixing
Android: Fixed abnormal intervals for the
onNetStatus
callback and the progress callback.Android: Fixed the null pointer exception caused by failure to call
setConfig
.iOS: Fixed the stuttering issue when videos are replayed in some scenarios.
All-in-One SDK 10.3 Released on July 8, 2022
MLVB
New features:
All platforms: TXLivePlayer\V2TXLivePlayer added support for HLS playback.
Improvement:
All platforms: Improved audio quality in the music mode.
All platforms: Optimized the SEI parsing logic. TXLivePlayer\V2TXLivePlayer can parse some non-standard SEI messages now.
All platforms: Fixed the issue of audio and video being out of sync as a result of the timestamp moving backward when TXLivePlayer\V2TXLivePlayer plays FLV or RTMP streams.
Bug fixing:
All platforms: Fixed the abnormal audio that occurs when TXLivePlayer\V2TXLivePlayer plays some AAC-HEv2 streams in the LEB scenario.
All platforms: Fixed incorrect cache calculation with TXLivePlayer.
UGSV
Bug fixing:
Android: Fixed the issue of
setZoom
not working during video shooting.Android: Fixed failure to shoot videos with Samsung Galaxy S22.
iOS: Fixed failure to trigger the callback for custom video pre-processing.
TRTC
New features:
Windows: Added support for recording live streaming sessions and audio/video calls to local storage. For details, see the description of
ITXLiteAVLocalRecord
.Windows & macOS: Added a parameter to
startMicDeviceTest
, which allows you to specify whether to play the audio captured during mic testing. For details, see the description of startMicDeviceTest
.Improvement:
All platforms: Improved audio quality in the music mode.
Bug fixing:
All platforms: Fixed occasional errors for the user list callback.
Windows: Fixed the issue where videos sometimes freeze during playback.
Windows: Fixed occasional video playback failure.
Windows: Fixed the echo issue for custom audio capturing.
Player
New features:
iOS: Added support for picture-in-picture playback.
Bug fixing:
Android: Fixed the issue where, when hardware decoding is used and a video playlist is played in the background, the player fails to automatically play the next video when one video is finished.
Android & iOS: Fixed failure to trigger the callback when seeking is completed.
All-in-One SDK 10.2 Released on June 26, 2022
MLVB
New features:
All platforms: Added support for license authentication for playback with TXLivePlayer\V2TXLivePlayer.
All platforms: Added support for HTTP header configuration for FLV playback with V2TXLivePlayer.
All platforms: Allowed changing audio encoding parameters dynamically when pushing RTMP streams with TXLivePusher\V2TXLivePusher.
Improvement:
All platforms: Optimized the adaptive bitrate API of V2TXLivePlayer for LEB.
All platforms: Fixed the issue where V2TXLivePlayer takes a long time to reconnect in the LEB scenario.
All platforms: Fixed the issue of small local cache size when TXLivePlayer\V2TXLivePlayer plays FLV or RTMP streams.
Android: Sped up the loading of the first frame for playback with TXLivePlayer\V2TXLivePlayer.
iOS: Reduced the size of the iOS SDK package.
iOS: Packaged
TXLiveBase.h
into the MLVB SDK.Bug fixing:
All platforms: Fixed the issue where the stutter rate limit configured for TXLivePlayer does not take effect.
All platforms: Fixed abnormal timing of the callback for the first audio/video frame when V2TXLivePusher pushes RTC streams.
Android: Fixed the black screen issue that occurs when TXLivePlayer\V2TXLivePlayer stops and starts playback within a short period of time.
UGSV
New features:
Android: Added support for editing videos without audio tracks.
Improvement:
Android: Sped up the loading of the first frame for short video playback.
Bug fixing:
Android: Fixed the issue where the wrong section of video is cropped during video shooting.
Android: Fixed incorrect aspect ratio for H.265 videos decoded with hardware.
iOS: Fixed the issue of incorrect video clipping time.
iOS: Fixed occasional noise that occurs in videos shot with devices with OS later than iOS 14.
iOS: Fixed the issue where the SDK occasionally crashes when the user returns to the shooting view after finishing video shooting.
TRTC
New features:
All platforms: Launched a new API for stream mixing and relaying, which offers more powerful features and greater flexibility. For details, see the description of
startPublishMediaStream
.All platforms: Added support for 3D spatial audio. For details, see the description of
enable3DSpatialAudioEffect
.All platforms: Added support for voice activity detection. This feature works even when local audio is muted (
muteLoalAudio
) or the capturing volume is set to zero (setAudioCaptureVolume
). It allows you to remind users when they are talking but have not turned their mics on. For details, see the description of enableAudioVolumeEvaluation
.All platforms: Added support for checking a user’s permission when they switch roles. For details, see the description of
switchRole(TRTCRoleType role, const char* privateMapKey)
.iOS & macOS: The C++ API for custom pre-processing supported using textures for video processing.
Improvement:
Android: Optimized in-ear monitoring, reducing latency.
Android: Optimized audio capturing, fixing the issue of noise on some devices.
iOS: Optimized the processing of upstream video data, reducing CPU and GPU usage.
Windows & macOS: Improved encoding for screen sharing. The height and width of the output video are no longer limited by the window size.
Windows: Reduced memory fragmentation and performance overhead.
Bug fixing:
All platforms: Fixed the issue where push occasionally fails after changing to a different type of network.
iOS: Fixed the issue of noise in recording files saved locally on some devices with iOS 14.
Player
Improvement:
Android & iOS: Optimized the callback of information including cached bytes and IP address during playback.
Bug fixing:
Android & iOS: Fixed failure to play H.265 videos when hardware decoding is used.
Android & iOS: Fixed HLS playback errors.
iOS: Fixed failure to get
supportedBitrates
in some scenarios.