ffprobe fix double http headers

rkmpp-v4l2m2m-decode
Moe 2022-12-03 07:58:40 -08:00
parent af891a7b9e
commit ff2afe03fc
1 changed files with 2 additions and 3 deletions

View File

@ -62,14 +62,13 @@ module.exports = (s,config,lang) => {
probeProcess.stdout.on('data',function(data){
stdout += data.toString()
})
probeProcess.on('close',function(){
probeProcess.on('exit',function(){
clearTimeout(processTimeout)
finishReponse()
})
processTimeout = setTimeout(() => {
treekill(probeProcess.pid)
finishReponse()
},4000)
},10000)
})
}
const probeMonitor = (monitor,timeoutAmount,forceOverlap) => {