配置 ffmpegRecord 写入临时文件
This commit is contained in:
parent
5611bbbe38
commit
5152136f97
@ -239,10 +239,6 @@ public class VideoService {
|
||||
Executor executor;
|
||||
DefaultExecuteResultHandler executeResultHandler = mediaStatus(device,callId);
|
||||
if(ffmpegConfig.getUseTmpFile()) {
|
||||
if(!file.exists()){
|
||||
log.info("创建临时文件 {}", fileName);
|
||||
file.createNewFile();
|
||||
}
|
||||
outputStream = new PipedOutputStream();
|
||||
String filePath = file.getAbsolutePath();
|
||||
PumpStreamHandler streamHandler = new PumpStreamHandler(outputStream, System.err);
|
||||
|
Loading…
Reference in New Issue
Block a user