Nodejs AppServer for RTC.
- Create APP and APPKey from here:
AppID: xxxxxxxx
AppKey: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
- Clone project and generate config:
npm install &&
echo "module.exports = {" > config.js &&
echo " listen: 8080," >> config.js &&
echo " appId: 'xxxxxxxx'," >> config.js &&
echo " appKey: 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'," >> config.js &&
echo " gslb: 'https://rgslb.rtc.aliyuncs.com'" >> config.js &&
echo "};" >> config.js &&
node index.js
- Verify your AppServer by VerifyServer.
Remark: You can setup client native SDK by
http://30.2.228.19:8080/app/v1
.
Remark: Please use your AppServer IP instead by
ifconfig eth0
.