diff --git a/infra/chunkedEncode/KChunkedEncode.php b/infra/chunkedEncode/KChunkedEncode.php index e5b341586a3..762e299df90 100644 --- a/infra/chunkedEncode/KChunkedEncode.php +++ b/infra/chunkedEncode/KChunkedEncode.php @@ -294,7 +294,7 @@ static public function verifySupport($vcodec, $acodec=null, $format, $fps, $gop, /* * Verify session duration - it should be at least twice the chunk duration - */ + * if(isset($height)) { $minimalDuration = KChunkedEncodeSetup::calculateChunkDuration($height)*2; if($duration<$minimalDuration){ @@ -305,7 +305,7 @@ static public function verifySupport($vcodec, $acodec=null, $format, $fps, $gop, else if($duration<180){ KalturaLog::log($msgStr="UNSUPPORTED: duration ($duration) too short, must be at least 180sec"); return false; - } + }*/ return true; }