Tencent-RTC / TRTC_Web

High-quality WebRTC SDK
https://trtc.io/
106 stars 55 forks source link
rtc videocall web webrtc

TRTC Web SDK

English | 简体中文

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.

Supported Browsers

TRTC Web SDK supports major modern browsers. For details, please refer to Browsers Supported.

Chrome
Chrome
IE / Edge
Edge
Firefox
Firefox
Safari
Safari
iOS Safari
iOS Safari
Opera
Opera
56+ 80+ 56+ 11+ 11+ 46+

Install

npm:

$ npm install trtc-sdk-v5 --save

yarn:

$ yarn add trtc-sdk-v5

Download manually:

  1. download trtc.js.
  2. 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
├── quick-demo-js           -- TRTC Web quick demo (JavaScript edition).
├── quick-demo-vue2-js      -- TRTC Web quick demo (Vue.js 2 edition).
├── quick-demo-vue3-ts      -- TRTC Web quick demo (Vue.js 3 edition).
├── samples                 -- TRTC Web feature samples (v5 SDK).
├── SDK                     -- TRTC Web SDK v5.x (Recommended).
└── v4                      -- TRTC Web SDK v4.x (Not recommended).

SDK

quick-demo-js

quick-demo-vue2-js

quick-demo-vue3-ts

samples

Contact Us