handle scale not being defined when using mpeg streaming
This commit is contained in:
parent
00b7ae9006
commit
e3afa5e309
|
@ -2132,7 +2132,7 @@ function getStreamHTML( $monitor, $options = array() ) {
|
|||
if ( ZM_WEB_STREAM_METHOD == 'mpeg' && ZM_MPEG_LIVE_FORMAT ) {
|
||||
$streamSrc = $monitor->getStreamSrc( array(
|
||||
'mode'=>'mpeg',
|
||||
'scale'=>$options['scale'],
|
||||
'scale'=>(isset($options['scale'])?$options['scale']:100),
|
||||
'bitrate'=>ZM_WEB_VIDEO_BITRATE,
|
||||
'maxfps'=>ZM_WEB_VIDEO_MAXFPS,
|
||||
'format' => ZM_MPEG_LIVE_FORMAT
|
||||
|
|
Loading…
Reference in New Issue