Updated with new bandwidth based stream config
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@3167 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
parent
7e1979760e
commit
c7e4ebd85d
|
@ -875,7 +875,7 @@ function canStreamIframe()
|
|||
|
||||
function canStreamNative()
|
||||
{
|
||||
return( ZM_CAN_STREAM == "yes" || ( ZM_CAN_STREAM == "auto" && (isNetscape() || isKonqueror()) ) );
|
||||
return( ZM_WEB_CAN_STREAM == "yes" || ( ZM_WEB_CAN_STREAM == "auto" && (isNetscape() || isKonqueror()) ) );
|
||||
}
|
||||
|
||||
function canStreamApplet()
|
||||
|
@ -2205,7 +2205,7 @@ function jsonEncode( &$value )
|
|||
{
|
||||
if ( $result != '{' )
|
||||
$result .= ',';
|
||||
$result .= jsonEncode( $subkey ).':'.jsonEncode( $subvalue );
|
||||
$result .= '"'.jsonEncode( $subkey ).'":'.jsonEncode( $subvalue );
|
||||
}
|
||||
return( $result.'}' );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue