Skip to content

Tencent-RTC/trtc-usersig-workers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

trtc-usersig-workers

trtc usersig service run on cloudflare workers

Local Dev

1、Config your sdkappid and secret in wrangler.toml

[vars]
SDKAPPID = 14xxxxxxxx
SECRET = "xxxxxxxxxx"

2、Start local server

npm install
npm run dev

Deploy to cloudflare workers

1、Config your sdkappid and secret in wrangler.toml

[vars]
SDKAPPID = 14xxxxxxxx
SECRET = "xxxxxxxxxx"

2、You need to have a cloudflare account

3、Deploy

npm run deploy

You should get some workers url like https://trtc-usersig-workers.xxxxxxx.workers.dev

Releases

No releases published

Packages

No packages published