rtc-app-csharp
C# 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
Usage
- Generate AK from here:
AccessKeyID: OGAEkdiL62AkwSgs
AccessKeySecret: 4JaIs4SG4dLwPsQSwGAHzeOQKxO6iw
- Create APP from here:
AppID: iwo5l81k
- Clone SDK and add
aliyun-net-openapi-core
andaliyun-net-openapi-rtc
to project:
git clone https://github.com/winlinvip/rtc-app-csharp.git &&
cd rtc-app-csharp &&
git clone https://github.com/aliyun/aliyun-openapi-net-sdk.git
- 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 AppServer by here.
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
.