make MJPEG Input Types Orphan Check when process closes
parent
e3491fb8d8
commit
56905c04f7
|
@ -1556,6 +1556,14 @@ module.exports = function(s,config,lang){
|
||||||
var wantedStatus = lang.Idle
|
var wantedStatus = lang.Idle
|
||||||
}
|
}
|
||||||
s.sendMonitorStatus({id:e.id,ke:e.ke,status:wantedStatus})
|
s.sendMonitorStatus({id:e.id,ke:e.ke,status:wantedStatus})
|
||||||
|
if(e.type === 'mjpeg'){
|
||||||
|
setTimeout(() => {
|
||||||
|
s.orphanedVideoCheck({
|
||||||
|
ke: e.ke,
|
||||||
|
mid: e.id,
|
||||||
|
},2,null,true)
|
||||||
|
},2000)
|
||||||
|
}
|
||||||
s.onMonitorStopExtensions.forEach(function(extender){
|
s.onMonitorStopExtensions.forEach(function(extender){
|
||||||
extender(Object.assign(s.group[e.ke].rawMonitorConfigurations[e.id],{}),e)
|
extender(Object.assign(s.group[e.ke].rawMonitorConfigurations[e.id],{}),e)
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue