PHP code example of jake / baijiayun
1. Go to this page and download the library: Download jake/baijiayun library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
jake / baijiayun example snippets
$bjcloud = new \Jake\Baijiayun\BJCloud([
'partnerId' => '####',
'partnerKey' => '####'
]);
$res = $bjcloud->roomCreate('live', time() + 60 * 60, time() + 60 * 60 * 2);
print_r($res);