public function toInsertableObject($dbObject = null, $props_to_skip = array())
 {
     //This is required for backward compatibility support of api calls in KMS
     $propertiesToSkip[] = "id";
     /* @var $dbObject LiveStreamEntry */
     // if the given password is empty, generate a random 8-character string as the new password
     if ($this->streamPassword == null || strlen(trim($this->streamPassword)) <= 0) {
         $tempPassword = sha1(md5(uniqid(rand(), true)));
         $this->streamPassword = substr($tempPassword, rand(0, strlen($tempPassword) - 8), 8);
     }
     return parent::toInsertableObject($dbObject, $props_to_skip);
 }