Electron

更新时间:
复制 MD 格式

This topic describes how to integrate the Electron SDK.

Prerequisites

Windows 7 or later. Windows 10 or 11 is recommended.

macOS 10.14 or later.

Node.js: 8.11.2 or later.

Electron: 5.0.0 or later.

Integrate the SDK

1. Install the SDK using an npm command

npm install dingrtc-electron-sdk@latest --save

The latest tag installs the latest version of the SDK. To find the latest version number, see the package versions page.

2. Import the SDK module into your project script file.

import DingRTC from 'dingrtc-electron-sdk';

What to do next

After integrating the SDK, you can implement the basic features of Real-Time Communication. For more information, see Implement basic features.