Skip to content

Latest commit

 

History

History
 
 

php

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

AppServer

PHP AppServer for RTC.

Usage

  1. Create APP and APPKey from here:
AppID: xxxxxxxx
AppKey: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  1. Create Config.php by your data:
echo "<?php" > Config.php
echo "\$listen = 8080;" >> Config.php
echo "\$app_id = 'xxxxxxxx'; " >> Config.php
echo "\$app_key = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'; " >> Config.php
echo "\$gslb = 'https://rgslb.rtc.aliyuncs.com'; " >> Config.php
echo "?>" >> Config.php
  1. Verify your AppServer by VerifyServer.

AppServer Success

AppServer Failed

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.