Java AppServer for RTC.
You could also write AppServer by following languages:
- Golang: https://github.com/winlinvip/rtc-app-golang
- Java: https://github.com/winlinvip/rtc-app-java
- Python: https://github.com/winlinvip/rtc-app-python
- C#: https://github.com/winlinvip/rtc-app-csharp
- Nodejs: https://github.com/winlinvip/rtc-app-nodejs
- PHP: https://github.com/winlinvip/rtc-app-php
For RTC deverloper:
- RTC workflow.
- RTC token generation.
Use OpenAPI to create channel:
- Golang: https://help.aliyun.com/document_detail/74890.html#channel-golang
- Java: https://help.aliyun.com/document_detail/74890.html#channel-java
- Python: https://help.aliyun.com/document_detail/74890.html#channel-python
- C#: https://help.aliyun.com/document_detail/74890.html#channel-csharp
- Nodejs: https://help.aliyun.com/document_detail/74890.html#channel-nodejs
- PHP: https://help.aliyun.com/document_detail/74890.html#channel-php
Token generation algorithm:
- Golang: https://help.aliyun.com/document_detail/74890.html#token-golang
- Java: https://help.aliyun.com/document_detail/74890.html#token-java
- Python: https://help.aliyun.com/document_detail/74890.html#token-python
- C#: https://help.aliyun.com/document_detail/74890.html#token-csharp
- Nodejs: https://help.aliyun.com/document_detail/74890.html#token-nodejs
- PHP: https://help.aliyun.com/document_detail/74890.html#token-php
- Generate AK from here:
AccessKeyID: OGAEkdiL62AkwSgs
AccessKeySecret: 4JaIs4SG4dLwPsQSwGAHzeOQKxO6iw
- Create APP from here:
AppID: iwo5l81k
-
Build project with maven, for example, JetBrains IDEA.
-
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
- Verify your AppServer by here or verify token.
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
.
- 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.