Skip to content

Commit

Permalink
Merge pull request kaltura#1307 from kaltura/IX-9.17.0-url-managers
Browse files Browse the repository at this point in the history
Ix 9.17.0 url managers
  • Loading branch information
sharonadar committed Jun 12, 2014
2 parents 9dee485 + a82e096 commit ef6d4d6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,7 @@ private function serveVodEntry()
// Translate to playback protocol format
$this->deliveryAttributes->setFormat(PlaybackProtocol::AKAMAI_HD);
} else if($this->deliveryAttributes->getFormat() == PlaybackProtocol::RTMP) {
if(strpos($this->deliveryAttributes->getMediaProtocol(), "rtmp") !== 0)
if(strpos($this->deliveryAttributes->getMediaProtocol(), "rtmp") !== 0)
$this->deliveryAttributes->setMediaProtocol("rtmp");
} else if($this->deliveryAttributes->getFormat() == PlaybackProtocol::HTTP) {
if(strpos($this->deliveryAttributes->getMediaProtocol(), "http") !== 0)
Expand Down
8 changes: 5 additions & 3 deletions alpha/lib/model/DeliveryProfileLiveAppleHttp.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

class DeliveryProfileLiveAppleHttp extends DeliveryProfileLive {

function __construct() {
parent::__construct();
$this->DEFAULT_RENDERER_CLASS = 'kM3U8ManifestRenderer';
}

public function setDisableExtraAttributes($v)
{
$this->putInCustomData("disableExtraAttributes", $v);
Expand Down Expand Up @@ -128,9 +133,6 @@ public function serve($baseUrl, $backupUrl)
$this->buildM3u8Flavors($baseUrl, $flavors);
$this->buildM3u8Flavors($backupUrl, $flavors);

if(is_null($this->params->getResponseFormat()))
$this->params->setResponseFormat('m3u8');

$renderer = $this->getRenderer($flavors);
return $renderer;
}
Expand Down
2 changes: 0 additions & 2 deletions alpha/lib/model/DeliveryProfileLiveHds.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,6 @@ public function serve($baseUrl, $backupUrl)
//
// if($entry)
// {
// $this->params->setResponseFormat('f4m');
//
// $protocol = $this->params->getMediaProtocol();
// $baseUrl = $this->getUrl();
//
Expand Down

0 comments on commit ef6d4d6

Please sign in to comment.