New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

trtc-sdk-v5

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

trtc-sdk-v5

Tencent Cloud RTC SDK for Web


Version published
Weekly downloads
28K
decreased by-15.55%
Maintainers
9
Weekly downloads
 
Created

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 // trtc plugins

FAQs

Package last updated on 08 May 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts