You are here

class KalturaMixingService in Kaltura 6.2

Hierarchy

Expanded class hierarchy of KalturaMixingService

File

kaltura_client/KalturaClient.php, line 3586

View source
class KalturaMixingService extends KalturaServiceBase {
  function __construct(KalturaClient $client) {
    parent::__construct($client);
  }
  function add(KalturaMixEntry $mixEntry) {
    $kparams = array();
    $this->client
      ->addParam($kparams, "mixEntry", $mixEntry
      ->toParams());
    $this->client
      ->queueServiceActionCall("mixing", "add", $kparams);
    if ($this->client
      ->isMultiRequest()) {
      return null;
    }
    $resultObject = $this->client
      ->doQueue();
    $this->client
      ->throwExceptionIfError($resultObject);
    $this->client
      ->validateObjectType($resultObject, "KalturaMixEntry");
    return $resultObject;
  }
  function get($entryId, $version = -1) {
    $kparams = array();
    $this->client
      ->addParam($kparams, "entryId", $entryId);
    $this->client
      ->addParam($kparams, "version", $version);
    $this->client
      ->queueServiceActionCall("mixing", "get", $kparams);
    if ($this->client
      ->isMultiRequest()) {
      return null;
    }
    $resultObject = $this->client
      ->doQueue();
    $this->client
      ->throwExceptionIfError($resultObject);
    $this->client
      ->validateObjectType($resultObject, "KalturaMixEntry");
    return $resultObject;
  }
  function update($entryId, KalturaMixEntry $mixEntry) {
    $kparams = array();
    $this->client
      ->addParam($kparams, "entryId", $entryId);
    $this->client
      ->addParam($kparams, "mixEntry", $mixEntry
      ->toParams());
    $this->client
      ->queueServiceActionCall("mixing", "update", $kparams);
    if ($this->client
      ->isMultiRequest()) {
      return null;
    }
    $resultObject = $this->client
      ->doQueue();
    $this->client
      ->throwExceptionIfError($resultObject);
    $this->client
      ->validateObjectType($resultObject, "KalturaMixEntry");
    return $resultObject;
  }
  function delete($entryId) {
    $kparams = array();
    $this->client
      ->addParam($kparams, "entryId", $entryId);
    $this->client
      ->queueServiceActionCall("mixing", "delete", $kparams);
    if ($this->client
      ->isMultiRequest()) {
      return null;
    }
    $resultObject = $this->client
      ->doQueue();
    $this->client
      ->throwExceptionIfError($resultObject);
    $this->client
      ->validateObjectType($resultObject, "null");
    return $resultObject;
  }
  function listAction(KalturaMixEntryFilter $filter = null, KalturaFilterPager $pager = null) {
    $kparams = array();
    if ($filter !== null) {
      $this->client
        ->addParam($kparams, "filter", $filter
        ->toParams());
    }
    if ($pager !== null) {
      $this->client
        ->addParam($kparams, "pager", $pager
        ->toParams());
    }
    $this->client
      ->queueServiceActionCall("mixing", "list", $kparams);
    if ($this->client
      ->isMultiRequest()) {
      return null;
    }
    $resultObject = $this->client
      ->doQueue();
    $this->client
      ->throwExceptionIfError($resultObject);
    $this->client
      ->validateObjectType($resultObject, "KalturaMixListResponse");
    return $resultObject;
  }
  function cloneAction($entryId) {
    $kparams = array();
    $this->client
      ->addParam($kparams, "entryId", $entryId);
    $this->client
      ->queueServiceActionCall("mixing", "clone", $kparams);
    if ($this->client
      ->isMultiRequest()) {
      return null;
    }
    $resultObject = $this->client
      ->doQueue();
    $this->client
      ->throwExceptionIfError($resultObject);
    $this->client
      ->validateObjectType($resultObject, "KalturaMixEntry");
    return $resultObject;
  }
  function appendMediaEntry($mixEntryId, $mediaEntryId) {
    $kparams = array();
    $this->client
      ->addParam($kparams, "mixEntryId", $mixEntryId);
    $this->client
      ->addParam($kparams, "mediaEntryId", $mediaEntryId);
    $this->client
      ->queueServiceActionCall("mixing", "appendMediaEntry", $kparams);
    if ($this->client
      ->isMultiRequest()) {
      return null;
    }
    $resultObject = $this->client
      ->doQueue();
    $this->client
      ->throwExceptionIfError($resultObject);
    $this->client
      ->validateObjectType($resultObject, "KalturaMixEntry");
    return $resultObject;
  }
  function requestFlattening($entryId, $fileFormat, $version = -1) {
    $kparams = array();
    $this->client
      ->addParam($kparams, "entryId", $entryId);
    $this->client
      ->addParam($kparams, "fileFormat", $fileFormat);
    $this->client
      ->addParam($kparams, "version", $version);
    $this->client
      ->queueServiceActionCall("mixing", "requestFlattening", $kparams);
    if ($this->client
      ->isMultiRequest()) {
      return null;
    }
    $resultObject = $this->client
      ->doQueue();
    $this->client
      ->throwExceptionIfError($resultObject);
    $this->client
      ->validateObjectType($resultObject, "int");
    return $resultObject;
  }
  function getMixesByMediaId($mediaEntryId) {
    $kparams = array();
    $this->client
      ->addParam($kparams, "mediaEntryId", $mediaEntryId);
    $this->client
      ->queueServiceActionCall("mixing", "getMixesByMediaId", $kparams);
    if ($this->client
      ->isMultiRequest()) {
      return null;
    }
    $resultObject = $this->client
      ->doQueue();
    $this->client
      ->throwExceptionIfError($resultObject);
    $this->client
      ->validateObjectType($resultObject, "array");
    return $resultObject;
  }
  function getReadyMediaEntries($mixId, $version = -1) {
    $kparams = array();
    $this->client
      ->addParam($kparams, "mixId", $mixId);
    $this->client
      ->addParam($kparams, "version", $version);
    $this->client
      ->queueServiceActionCall("mixing", "getReadyMediaEntries", $kparams);
    if ($this->client
      ->isMultiRequest()) {
      return null;
    }
    $resultObject = $this->client
      ->doQueue();
    $this->client
      ->throwExceptionIfError($resultObject);
    $this->client
      ->validateObjectType($resultObject, "array");
    return $resultObject;
  }

}

Members