TRTC Web SDKAPI ReferenceEventsError CodesTypesTutorialsChangelog
中

TRTC Web SDK

Introduction

TRTC Web SDK is the Web SDK of Tencent Cloud's real-time audio and video communication solution. It is a JavaScript library loaded through HTML web pages. Developers can use the APIs provided by TRTC Web SDK to establish connections, control real-time audio and video calls or live streaming services.

Currently, TRTC Web SDK mainly supports Chrome M58+ and Safari browsers.

Please be sure to use HTTPS protocol or localhost to deploy your Web App, otherwise the error of navigator.mediaDevices not found will occur!

Reference

Latest Version v5.21.0

v5.21.0 - 2026.11.13

  • Added support for the interactive whiteboard and screen sharing annotation. For integration, refer to Interactive Whiteboard and Screen Sharing Annotation.
  • Added natural male voice, natural female voice, and custom voice to the Voice Changer Plugin.
  • Added the low latency mode to reduce the playback latency of the audience in the live scenario. Enable it with the `setLowLatencyModeEnabled` experimental API before entering the room.
  • Reduced the time from room entry to the first video frame being displayed.
  • Worked around the issue where decoding high-resolution videos fails on some Huawei devices.
  • Fixed the occasional no-audio issue of the AudioPlayer Plugin on iOS; playback recovers automatically after the browser blocks autoplay.
View full changelog →