trtc-sdk-v5
TypeScript icon, indicating that this package has built-in type declarations

5.10.0 • Public • Published

TRTC Web SDK

An object-oriented WebRTC SDK library

NPM version NPM downloads trtc.js Typescript Supported Documents Stars

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.

Environment Supports

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
├── 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 // sdk plugins
└── assets // static resource directory (e.g., required for features like virtual background, AI noise reduction, etc., which need to be deployed on the server for the SDK to dynamically load resources)

/trtc-sdk-v5/

    Package Sidebar

    Install

    npm i trtc-sdk-v5

    Weekly Downloads

    27,846

    Version

    5.10.0

    License

    ISC

    Unpacked Size

    29.5 MB

    Total Files

    57

    Last publish

    Collaborators

    • langhuihui
    • jiushu530
    • raingxm
    • dawnrking
    • rychouwei
    • tencent-cloud-rtc
    • anderlu
    • rgzhao
    • iriszhang