zego-express-engine-electron
Prerequisites
- Electron 5.0.8+
Installation
- Video SDK:
npm install zego-express-engine-electron
- Video SDK (with whiteboard feature):
npm install zego-express-engine-electron-whiteboard
Quick Start
Create a ZEGO account and get AppID and AppSign required for SDK initialization at ZEGO management console
const zgEngine = window.require('zego-express-engine-electron/ZegoExpressEngine');
const zgDefines = window.require('zego-express-engine-electron/ZegoExpressDefines');
console.log("zego express engine version: ", zgEngine.getVersion());
// init sdk
zgEngine.createEngine({appID: xxx, appSign: 'xxx', scenario: 0});
// use other API to achieve video communication
// loginRoom => startPublishingStream => startPlayingStream
// uninit sdk
zgEngine.destroyEngine();
Resources
- Doc Center - See more docs about this SDK
- Demo - A quick start demo base on this repo
ChangeLog
Since the electron SDK is based on native SDK, please refer to native changelog for more information.
ZEGO Express (RTC) Windows Native