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.17.1

v5.17.1 - 2026.04.23

  • trtc.startScreenShare now supports `1440p` / `1440p_2` / `4K` / `4K_2` screen sharing encoding presets.
  • Added support for starting the VirtualBackground plugin in advance while the camera is off and preserving its configuration so it takes effect automatically when the camera is turned on.
  • Improved network resilience and recovery capability.
  • Fixed known issues in the RealtimeTranscriber plugin.
  • Fixed an issue where main-thread blocking on iOS could affect encoding frame rate.
  • Worked around a Chrome bug causing memory leaks in the Electron 22 render process.
View full changelog →