Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
agora-electron-compile
Advanced tools
其他语言版本: 简体中文
Agora RTC Electron SDK uses Agora RTC SDK (Windows & macOS) as NodeJS C++ addon for rapid RTC application development
Explore the docs »
View Demo
·
Report Bug
·
Plugins :new:
Recommend to install through npm:
# install newest sdk and download prebuilt binary file automatically
npm install agora-electron-sdk
Usually you have to specify electron version of your application and whether to download prebuilt c++ addon or do node-gyp building locally by configuration in package.json:
// package.json
{
...
"agora_electron": {
"electron_version": "5.0.8",
"prebuilt": true
}
...
}
For more detail of configuration, visit wiki.
import AgoraRtcEngine from 'agora-electron-sdk'
const rtcEngine = new AgoraRtcEngine();
rtcEngine.initialize('<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 {"agora-electron-sdk": "commonjs2 agora-electron-sdk"}
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
In newest version we have supported plugins for customize videoFrame and audioFrame data. In other words, you can integrate cool features like video filter, face recognition with your own plugins in C++.
We have already implement an official plugin for video filter based on FaceUnity:
For more detail about how plugins work and how to write your own plugins, visit wiki.
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
git checkout -b feature/AmazingFeature
)git commit -m 'Add some AmazingFeature
)git push origin feature/AmazingFeature
)FAQs
agora-electron-sdk
The npm package agora-electron-compile receives a total of 0 weekly downloads. As such, agora-electron-compile popularity was classified as not popular.
We found that agora-electron-compile 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.