public function panopto_soap_client($servername, $apiuseruserkey, $apiuserauthcode)
 {
     // Instantiate SoapClient in non-WSDL mode.
     //Set call timeout to 5 minutes.
     parent::__construct(null, array('location' => "http://{$servername}/Panopto/Services/ClientData.svc", 'uri' => "http://services.panopto.com", 'timeout' => 300000));
     // Cache web service credentials for all calls requiring authentication.
     $this->authparams = array("ApiUserKey" => $apiuseruserkey, "AuthCode" => $apiuserauthcode);
 }