TokenServer for BRTC.
- Create AppID and AppKey from here:
AppID: xxxxxxxx AppKey: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx - Clone project and generate config:
echo "module.exports = {" > config.js && echo " listen: 8080," >> config.js && echo " appId: 'GET-FROM-BAIDU'," >> config.js && echo " appKey: 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'," >> config.js && echo "};" >> config.js && node index.js - Test from Browser.