From f1bef6c684b4f97976fc396ee6f506e36575e508 Mon Sep 17 00:00:00 2001 From: 付智勇 <fuzhiyong@efangtec.com> Date: Tue, 17 Oct 2017 09:50:01 +0800 Subject: [PATCH] no message --- services/recordInfoService.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)){ -- libgit2 0.24.0