Golang 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
-
Setup Golang enviroment, click here.
-
Start AppServer, use your information:
go get -d github.com/winlinvip/rtc-app-golang &&
cd $GOPATH/src/github.com/winlinvip/rtc-app-golang &&
go run main.go --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.


