TRTC Web SDK
Introduction
TRTC Web SDK is an object-oriented WebRTC SDK of Tencent Cloud's real-time communication solution. Web developers can use TRTC Web SDK to establish an audio/video calls or live streaming services on your website.
Environment Supports
TRTC Web SDK supports major modern browsers. For details, please refer to Browsers Supported.
![Chrome](https://web.sdk.qcloud.com/trtc/webrtc/assets/logo/chrome_48x48.png) Chrome | ![IE / Edge](https://web.sdk.qcloud.com/trtc/webrtc/assets/logo/edge_48x48.png) Edge | ![Firefox](https://web.sdk.qcloud.com/trtc/webrtc/assets/logo/firefox_48x48.png) Firefox | ![Safari](https://web.sdk.qcloud.com/trtc/webrtc/assets/logo/safari_48x48.png) Safari | ![iOS Safari](https://web.sdk.qcloud.com/trtc/webrtc/assets/logo/safari-ios_48x48.png) iOS Safari | ![Opera](https://web.sdk.qcloud.com/trtc/webrtc/assets/logo/opera_48x48.png) Opera |
---|
56+ | 80+ | 56+ | 11+ | 11+ | 46+ |
Install
npm:
$ npm install trtc-sdk-v5 --save
yarn:
$ yarn add trtc-sdk-v5
Download manually:
- download trtc.js.
- copy
trtc.js
to your project.
Usage
Refer to the following two tutorials for a quick run-through of the demo and how to use the SDK to implement basic audio and video calling functionality.
Explore SDK API documents:TRTC Web SDK.
API Overview
Directory
├── README.md
├── package.json
├── trtc.js // sdk file(umd format)
├── trtc.esm.js // sdk file base on ES modules(esm format)
├── index.d.ts // ts declaration file
└── plugins // trtc plugins