From 9daf560bfd081dd25a47068b8b65937e9b157376 Mon Sep 17 00:00:00 2001 From: 付智勇 <fuzhiyong@efangtec.com> Date: Tue, 17 Oct 2017 10:32:54 +0800 Subject: [PATCH] no message --- services/recordInfoService.js | 3 +++ 1 file changed, 3 insertions(+), 0 deletions(-) diff --git a/services/recordInfoService.js b/services/recordInfoService.js index a656a44..a1ec25f 100644 --- a/services/recordInfoService.js +++ b/services/recordInfoService.js @@ -63,6 +63,8 @@ recordInfoService.prototype.getRecordFileURL = async(path,time)=>{ let files=fs.readdirSync(pathURL); files.forEach(function(file){ let type = file.split('.'); + console.log(type[1]) + //m3u8 配置 if(type[1] != 'mp4'){ }else{ let fileN = type[0].split('_'); @@ -70,6 +72,7 @@ recordInfoService.prototype.getRecordFileURL = async(path,time)=>{ backFile.push({ channel:record.channel, uid:record.uid, + timestamp:record.timestamp, createTime:record.createTime, fileUrl:applacation.recordPath+date1+'/'+cfile+'/'+file }) -- libgit2 0.24.0