TUICallEngine SDK

NPM verison Documents

tuicall-engine-webrtc is based on Tencent Cloud Instant Messaging IM and Real-time audio and video TRTC Audio and video communication components built by two paid PaaS services, supporting Audio and video calls in two-person and multi-person scenarios.

Environment support

TUICallEngine SDK supports mainstream browsers on the market. For details, please refer to: Browser support status.

If you want to know about the UI audio and video call components, you can visit TUICallKit/Web.

Please be sure to use HTTPS protocol or localhost to deploy your Web App, otherwise the navigator.mediaDevices not found error will occur!
IE / Edge
iOS Safari
iOS Safari
56+ 80+ 56+ 11+ 11+ 46+


You can access the online Demo 1v1 audio and video call experience center Experience the call effect.

Integrated SDK

NPM integration

  1. You can use npm to install it in your project tuicall-engine-webrtc.

    npm install tuicall-engine-webrtc --save
  2. Import the module in the project script.

    import { TUICallEngine, TUICallEvent, TUICallType } from "tuicall-engine-webrtc";

Script integration

Add the following code to your web page:

<script src="./trtc.js"></script>
<script src="./tim-js.js"></script>
<script src="./tsignaling-js.js"></script>
<script src="./tuicall-engine-webrtc.js"></script>
const { TUICallEngine, TUICallEvent, TUICallType } = window['tuicall-engine-webrtc'];

Download address of the above files: trtc.js, tim-js.js, tsignaling.js, tuicall-engine-webrtc.js

Use logic

Basic use of the SDK can be accessed: TUICallEngine enables two-person calls

Document list