public function populateFromEntry(LiveStreamEntry $entry) { $this->setEncoderIP($entry->getEncodingIP1()); $this->setBackupEncoderIP($entry->getEncodingIP2()); $this->setEncoderPassword($entry->getStreamPassword()); $this->setEncoderUsername($entry->getStreamUsername()); $this->setDvrEnabled($entry->getDvrStatus()); $this->setDvrWindow($entry->getDvrWindow()); $this->setStreamType(AkamaiUniversalStreamType::UNIVERSAL_STREAMING_LIVE); $this->setStreamName(str_replace("_", "", $entry->getId())); }
public function populateFromEntry(LiveStreamEntry $entry) { $this->setEncoderIP($entry->getEncodingIP1()); $this->setBackupEncoderIP($entry->getEncodingIP2()); $this->setEncoderPassword($entry->getStreamPassword()); $this->setEncoderUsername($entry->getStreamUsername()); $this->setEndDate($entry->getEndDate(null)); $this->setMediaType($entry->getMediaType()); }