upgrade montage to use Monitor object and getStreamSrc which knows which server to connect to
This commit is contained in:
parent
34f6590107
commit
f54b8c27ee
|
@ -31,7 +31,12 @@ var monitorData = new Array();
|
|||
foreach ( $monitors as $monitor )
|
||||
{
|
||||
?>
|
||||
monitorData[monitorData.length] = { 'id': <?php echo $monitor['Id'] ?>, 'connKey': <?php echo $monitor['connKey'] ?>, 'width': <?php echo $monitor['Width'] ?>,'height':<?php echo $monitor['Height'] ?> };
|
||||
monitorData[monitorData.length] = {
|
||||
'id': <?php echo $monitor->Id() ?>,
|
||||
'connKey': <?php echo $monitor->connKey() ?>,
|
||||
'width': <?php echo $monitor->Width() ?>,
|
||||
'height':<?php echo $monitor->Height() ?>
|
||||
};
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue