PHP code example of edoctor / talkmed-meeting-open-sdk
1. Go to this page and download the library: Download edoctor/talkmed-meeting-open-sdk 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/ */
edoctor / talkmed-meeting-open-sdk example snippets
$live = new LiveJoinRequest(2089596951);
$live->setUserId(457);
$live->setRoomRole(2);
$live->setRoomPassword('023457');
//发起请求
$res = $client->request($live);
$options = array(
'user_id' => 457,
'room_role' => 2,
'room_password' => '023457'
);
$live = new LiveJoinRequest(2089596951);
$live->setOptions(options);
//发起请求
$res = $client->request($live);