huangshengsen / Agora-RTM-Nodejs

Agora RTM SDK on Nodejs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Agora-RTM-Nodejs

Use Agora RTM Linux SDK (C++) as Node Addon

How to use

Make sure you have node-gyp environment.

Download Agora RTM Linux SDK and extract libagora_rtm_sdk.so & include/ from it under this project.

If you use docker, just build image and container based on our docker file. Apart from this, you should move libagora_rtm_sdk.so to /usr/lib manaully.

npm install

Run command above to generate build/ & dist/ which contains node addon and js api.

How to run test

Get appid and set it in .env file

npm run test

About

Agora RTM SDK on Nodejs


Languages

Language:C++ 79.4%Language:TypeScript 15.0%Language:JavaScript 4.2%Language:Python 0.8%Language:Shell 0.7%