• 서비스
  • 가격
  • 리소스
  • 기술지원
이 페이지는 현재 영어로만 제공되며 한국어 버전은 곧 제공될 예정입니다. 기다려 주셔서 감사드립니다.

Web

This document describes how to quickly integrate the RTC Room Engine SDK in your Web project.

Development Environment Requirement

Node.js version: Node.js ≥ 18 (recommended for use with the official LTS version, npm version should match the node version).
Modern browsers that support WebRTC APIs.

Integrating SDK

Option 1

Open the console, enter your project root directory where the package.json file is located, and run the following script to install the @tencentcloud/tuiroom-engine-js dependency.
Using Npm
Using Pnpm
Use Yarn
npm install @tencentcloud/tuiroom-engine-js
pnpm install @tencentcloud/tuiroom-engine-js
yarn add @tencentcloud/tuiroom-engine-js

Option 2

In your project's package.json file, add the @tencentcloud/tuiroom-engine-js dependency to the dependencies module.
The following is the package.json file configuration.
{
"name":"projectName",
"version":"1.0.0",
"scripts": {
},
"dependencies": {
// Add the @tencentcloud/tuiroom-engine-js dependency
"@tencentcloud/tuiroom-engine-js": "^3.3.0",
}
}
Run the dependency installation command:
Using Npm
Using Pnpm
Use Yarn
npm install
pnpm install
yarn install
npm install @tencentcloud/tuiroom-engine-js
pnpm install @tencentcloud/tuiroom-engine-js
yarn add @tencentcloud/tuiroom-engine-jsnpm install @tencentcloud/tuiroom-engine-js
pnpm install @tencentcloud/tuiroom-engine-js
yarn add @tencentcloud/tuiroom-engine-jsnpm install @tencentcloud/tuiroom-engine-js
pnpm install @tencentcloud/tuiroom-engine-js
yarn add @tencentcloud/tuiroom-engine-jsnpm install @tencentcloud/tuiroom-engine-js
pnpm install @tencentcloud/tuiroom-engine-js
yarn add @tencentcloud/tuiroom-engine-js