From ebd93cd55af14bebf1537009a1ccdbe861db4d13 Mon Sep 17 00:00:00 2001 From: martin Date: Fri, 20 May 2011 16:03:31 -0400 Subject: [PATCH] CC-2287: Files greater than 100MB are not being played -increased chunk read size --- airtime_mvc/application/controllers/ApiController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airtime_mvc/application/controllers/ApiController.php b/airtime_mvc/application/controllers/ApiController.php index 62908dec1..c7cbbc0bc 100644 --- a/airtime_mvc/application/controllers/ApiController.php +++ b/airtime_mvc/application/controllers/ApiController.php @@ -103,7 +103,7 @@ class ApiController extends Zend_Controller_Action //flush the file contents 16 KBytes at a time. In the future we may //want to use the "X-Sendfile header" method instead. while (!feof($fp)) { - echo fread($fp, 16*1024); + echo fread($fp, 64*1024); ob_end_flush(); } fclose($fp);