Changed rates for mpeg streaming.

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@928 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
stan 2004-03-08 10:32:20 +00:00
parent e30fc4ac2c
commit 5f18311163
1 changed files with 26 additions and 9 deletions

View File

@ -67,15 +67,32 @@ $bw_array = array(
"low"=>$zmSlangLow
);
$rates = array(
"0" => $zmSlangMax,
"1000" => "10x",
"400" => "4x",
"200" => "2x",
"100" => $zmSlangReal,
"50" => "1/2x",
"25" => "1/4x",
);
if ( ZM_WEB_VIDEO_STREAM_METHOD == 'mpeg' )
{
$rates = array(
"10000" => "100x",
"5000" => "50x",
"2500" => "25x",
"1000" => "10x",
"400" => "4x",
"200" => "2x",
"100" => $zmSlangReal,
"50" => "1/2x",
"25" => "1/4x",
);
}
else
{
$rates = array(
"0" => $zmSlangMax,
"1000" => "10x",
"400" => "4x",
"200" => "2x",
"100" => $zmSlangReal,
"50" => "1/2x",
"25" => "1/4x",
);
}
$scales = array(
"400" => "4x",