
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
electron-agora-rtc-ng
Advanced tools
macOS | Windows | ![]() Electron |
---|---|---|
x86 | arm64 | ia32 | x64 | 4.0.0 ~ Latest |
In newest version you can define installation configuration in package.json (or .npmrc, while package.json has a higher priority), usually you can just provide "prebuilt", and "arch".
// package.json
{
...
"agora_electron": {
"prebuilt": true,
"arch": "x64",
}
...
}
// .npmrc
agora_electron_sdk_pre_built=true // defalut value is true
agora_electron_sdk_arch=x64 // only support windows:
Properties detail:
## Automatic platform and architecture selection
npm install electron-agora-rtc-ng
or
## or select 32 bit architecture on Windows
npm install --agora_electron_sdk_arch=ia32
## or select 64 bit architecture on Windows
npm install --agora_electron_sdk_arch=x64
import createAgoraRtcEngine from "electron-agora-rtc-ng";
const rtcEngine = createAgoraRtcEngine();
rtcEngine.initialize({ appId: "<your agora app id>" });
When using directly within a web electron project with custom webpack configuration, you may see errors when compiling. It's because you have not properly configured loader for node addon. A convenient way to skip the compile process is to set externals
property of your webpack config to {"electron-agora-rtc-ng": "commonjs2 electron-agora-rtc-ng"}
Document - Official document
e-Education Application - A complete e-education Application based on this repo
Demo - A quick start demo based on Vue/React and this repo
Changelog - Attention to newest information
You will need to build Agora RTC Electron SDK from source if you want to work on a new feature/bug fix, try out the latest features which are not released yet, or maintain your own fork with patches that cannot be merged to the core.
$ git clone git@github.com:AgoraIO-Community/electron-agora-rtc-ng.git
$ cd electron-agora-rtc-ng
$ npm install #or yarn
# build macOS
$ npm install --agora_electron_sdk_pre_built=false
# build 32 bit architecture on Windows
$ npm install --verbose --agora_electron_sdk_pre_built=false --agora_electron_sdk_arch=ia32
# build 64 bit architecture on Windows
$ npm install --verbose --agora_electron_sdk_pre_built=false --agora_electron_sdk_arch=x64
Read our contributing guide and let's build a better antd together. :)
git checkout -b feature/AmazingFeature
)git commit -m 'Add some AmazingFeature
)git push origin feature/AmazingFeature
)4.0.0-beta.3 (2022-07-19)
FAQs
electron-agora-rtc-ng
The npm package electron-agora-rtc-ng receives a total of 1 weekly downloads. As such, electron-agora-rtc-ng popularity was classified as not popular.
We found that electron-agora-rtc-ng demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers 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
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.