public function validateForInsert($propertiesToSkip = array())
 {
     //This is required for backward compatibility support of api calls in KMS
     $propertiesToSkip[] = "id";
     $this->validatePropertyNotNull("mediaType");
     $this->validatePropertyNotNull("sourceType");
     $this->validatePropertyNotNull("streamPassword");
     if (in_array($this->sourceType, array(KalturaSourceType::AKAMAI_LIVE, KalturaSourceType::AKAMAI_UNIVERSAL_LIVE))) {
         $this->validatePropertyNotNull("encodingIP1");
         $this->validatePropertyNotNull("encodingIP2");
     }
     parent::validateForInsert($propertiesToSkip);
 }
Example #2
0
 public function __construct()
 {
     parent::__construct();
     $this->type = KalturaEntryType::LIVE_CHANNEL;
 }