add auth hash if available
This commit is contained in:
parent
fece06c9e3
commit
cd476192e9
|
@ -8,6 +8,8 @@ function Monitor( monitorData ) {
|
||||||
this.alarmState = STATE_IDLE;
|
this.alarmState = STATE_IDLE;
|
||||||
this.lastAlarmState = STATE_IDLE;
|
this.lastAlarmState = STATE_IDLE;
|
||||||
this.streamCmdParms = "view=request&request=stream&connkey="+this.connKey;
|
this.streamCmdParms = "view=request&request=stream&connkey="+this.connKey;
|
||||||
|
if ( auth_hash )
|
||||||
|
this.streamCmdParms += '&auth='+auth_hash;
|
||||||
this.streamCmdTimer = null;
|
this.streamCmdTimer = null;
|
||||||
|
|
||||||
this.start = function( delay ) {
|
this.start = function( delay ) {
|
||||||
|
|
Loading…
Reference in New Issue