Skip to content

Unable to call Message: Function ("UpdateRecordingSettings") is not a valid method for this service #3

@bcodermicro

Description

@bcodermicro

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);


    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions