diff --git a/services/recordInfoService.js b/services/recordInfoService.js index f6f0d0a..a656a44 100644 --- a/services/recordInfoService.js +++ b/services/recordInfoService.js @@ -63,7 +63,7 @@ recordInfoService.prototype.getRecordFileURL = async(path,time)=>{ let files=fs.readdirSync(pathURL); files.forEach(function(file){ let type = file.split('.'); - if(type[1] != 'm3u8'){ + if(type[1] != 'mp4'){ }else{ let fileN = type[0].split('_'); if(date2==fileN[1].slice(0,fileN[1].length-3)){