Skip to content

redwinner/brtcTokenServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TokenServer

TokenServer for BRTC.

Usage

  1. Create AppID and AppKey from here:
AppID: xxxxxxxx AppKey: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 
  1. 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 
  1. Test from Browser.

http://127.0.0.1:8080/v1/?roomname=8888&userid=123

About

TokenServer for BRTC

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors