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

v5.18.0 - 2026.06.02

  • Added support for the AudioPlayer plugin for URL, PCM, and MediaStreamTrack audio playback, with support for mixing audio into the published stream. We recommend existing AudioMixer users upgrade to this plugin.
  • Added support for setting the `filterVirtualDevice` parameter in TRTC.getCameraList and TRTC.getMicrophoneList to filter virtual devices.
  • Improved network recovery capability under poor network and high RTT conditions.
  • Optimized SEI sending/receiving and VideoDecoder plugin performance so they are no longer affected by main-thread blocking.
  • Fixed decoding failures that could occur when devices such as Snapdragon 680 decode multiple video streams simultaneously. We recommend using the VideoDecoder plugin for decode fallback.
View full changelog →