-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Unable to call UpdateRecordingSettings says method is unavailable.
The class is instantiated from
$panoptoclient = new \Panopto\Client("bc.hosted.panopto.com", $soapoptions);
$panoptoclient->setAuthenticationInfo($user, $pass, $appCode);
$this->auth = $panoptoclient->getAuthenticationInfo();
// Creating webservice client instances.
$this->amclient = $panoptoclient->AccessManagement();
$this->rrmclient = $panoptoclient->RemoteRecorderManagement(); <<<----rrm client
$this->smclient = $panoptoclient->SessionManagement();
$this->umclient = $panoptoclient->UserManagement();
$this->urclient = $panoptoclient->UsageReporting();
public function change_recording_recorder($sessionID,$newRecorderID){
$sessionID = '7eeasdf1e92368-30asdf23a3f-sadfasd234967-a62d-ad65014832d6';
$remoterecorder = new \Panopto\RemoteRecorderManagement\RecorderSettings();
$remoterecorder->setRecorderID('0b52233092-c82323e234-42ec-aca0-ad62360142fec8');
$remoterecorder->setSuppressPrimary(false);
$remoterecorder->setSuppressSecondary(false);
$recorderSettings = new \Panopto\RemoteRecorderManagement\ArrayOfRecorderSettings();
$recorderSettings->setRecorderSettings([$remoterecorder]);
$updaterecording = new \Panopto\RemoteRecorderManagement\UpdateRecordingSettings($this->auth,$sessionID,$recorderSettings);
echo '<PRE>';
var_dump($updaterecording);
echo '</PRE>';
#exit();
$result = $this->rrmclient->UpdateRecordingSettings($updaterecording);
echo $result;
return var_dump($result);
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels