update
This commit is contained in:
@@ -282,7 +282,7 @@ public class LiveVideoDownloadService {
|
||||
@Override
|
||||
public void onDownload(File file) {
|
||||
super.onDownload(file);
|
||||
Log.e("下载完成 ");
|
||||
Log.d("下载完成 ");
|
||||
stop();
|
||||
}
|
||||
});
|
||||
@@ -322,9 +322,9 @@ public class LiveVideoDownloadService {
|
||||
VideoFilePath path = createVideoRootFilePath(configBean, recordDir);
|
||||
if (recordDir.exists()) {
|
||||
List<LiveVideoDatabaseBean> infos = database.getLiveInfos();
|
||||
database.close();
|
||||
path.setChildren(getVideoInfo(infos));
|
||||
}
|
||||
database.close();
|
||||
return path;
|
||||
}
|
||||
|
||||
@@ -374,6 +374,7 @@ public class LiveVideoDownloadService {
|
||||
break;
|
||||
}
|
||||
}
|
||||
liveDatabase.close();
|
||||
if(videoInfo != null) {
|
||||
FFmpegUtils ffmpeg = FFmpegUtils.segment(videoId, ffmpegPath, new File(videoInfo.getPath()), ConfigTools.load(ConfigTools.CONFIG, "outVideoPath", String.class));
|
||||
System.out.println(ffmpeg.getCommand());
|
||||
|
||||
Reference in New Issue
Block a user