Skip to content

winlinvip/rtc-app-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rtc-app-java

Java AppServer for RTC.

You could also write AppServer by following languages:

For RTC deverloper:

Use OpenAPI to create channel:

Token generation algorithm:

Usage

  1. Generate AK from here:
AccessKeyID: OGAEkdiL62AkwSgs
AccessKeySecret: 4JaIs4SG4dLwPsQSwGAHzeOQKxO6iw
  1. Create APP from here:
AppID: iwo5l81k
  1. Build project with maven, for example, JetBrains IDEA.

  2. Run project with args(replace access key and appid with yours):

--listen=8080 --access-key-id=OGAEkdiL62AkwSgs
	--access-key-secret=4JaIs4SG4dLwPsQSwGAHzeOQKxO6iw --appid=iwo5l81k
	--gslb=https://rgslb.rtc.aliyuncs.com
  1. Verify your AppServer by here or verify token.

AppServer Success

AppServer Failed

AppServer Error Recovered

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.

History

  • 4cbf084, ef64f0b, Update SessionID generation algorithm.
  • b68830b, Use HTTP, x3 times faster than HTTPS.
  • ef62e80, Log the request id and cost in ms.
  • 8b088f1, e726b19, Set endpoint to get correct exception.
  • 4c85f2e, Set auto retry and timeout.
  • cb3eb09, Support recover for some OpenAPI error.
  • Support create channel and sign user token.

About

Java AppServer for RTC.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages