remove width and height from zms url. zms doesn't support them and having them in the url is confusing

This commit is contained in:
Isaac Connor 2020-08-27 10:29:50 -04:00
parent 43b4177a5b
commit 11f165a99f
1 changed files with 4 additions and 0 deletions

View File

@ -214,6 +214,10 @@ class Monitor extends ZM_Object {
$args['scale'] = intval((100*intval($args['height']))/$this->ViewHeight());
}
}
if ( isset($args['width']) )
unset($args['width']);
if ( isset($args['height']) )
unset($args['height']);
$streamSrc .= '?'.http_build_query($args, '', $querySep);