Security News
PyPI Introduces Digital Attestations to Strengthen Python Package Security
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
intll-trtc-js-sdk
Advanced tools
English | 简体中文
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.
TRTC Web SDK supports major modern browsers. For details, please refer to Browsers Supported.
Chrome | Edge | Firefox | Safari | iOS Safari | Opera |
---|---|---|---|---|---|
56+ | 80+ | 56+ | 11+ | 11+ | 46+ |
npm:
$ npm install trtc-js-sdk --save
yarn:
$ yarn add trtc-js-sdk
Download manually:
base-js/js/trtc.js
to your project.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 documents:TRTC Web SDK
├── README.md
├── package.json
├── trtc.js // sdk file
├── trtc.esm.js // sdk file base on ES modules(support v4.11.7+)
├── trtc.umd.js // sdk file base on UMD modules(support v4.11.7+)
└── index.d.ts // ts declaration file(support v4.11.12+)
trtc.js
Default entry file, base on UMD modules, ES6 included.
Usage:
import TRTC from 'trtc-js-sdk'
<script src="[path]/trtc.js"></scirpt>
trtc.esm.js
ES6 included, base on ES Modules. Smaller file size, not usable by browsers that do not support ES6. Refer to: Compatibility of ES6.
support v4.11.7+
Usage:
import TRTC from 'trtc-js-sdk/trtc.esm.js'
trtc.umd.js
ES5 included(without ES6 syntax). Larger file size, but better compatibility.
support v4.11.7+
Usage:
import TRTC from 'trtc-js-sdk/trtc.umd.js'
<script src="[path]/trtc.umd.js"></scirpt>
FAQs
Tencent Cloud RTC SDK for Web
We found that intll-trtc-js-sdk demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.