add some missing module requirements
parent
7caf1199cc
commit
11533f8f7a
|
@ -3,6 +3,8 @@ var crypto = require('crypto');
|
|||
var exec = require('child_process').exec;
|
||||
var spawn = require('child_process').spawn;
|
||||
var events = require('events');
|
||||
var http = require('http');
|
||||
var https = require('https');
|
||||
module.exports = function(s,config){
|
||||
//kill any ffmpeg running
|
||||
s.ffmpegKill=function(){
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
var http = require('http');
|
||||
var https = require('https');
|
||||
var express = require('express');
|
||||
module.exports = function(s,config,lang){
|
||||
//setup Master for childNodes
|
||||
if(config.childNodes.enabled === true && config.childNodes.mode === 'master'){
|
||||
|
|
|
@ -294,7 +294,7 @@ module.exports = function(s,config,lang){
|
|||
}
|
||||
request({url:d.url,method:'GET'},function(err,data){
|
||||
if(err){
|
||||
|
||||
//could not start hotswap
|
||||
}else{
|
||||
delete(s.group[d.ke].users[d.auth])
|
||||
d.cx.f='detector_record_engaged';
|
||||
|
|
Loading…
Reference in New Issue