ffmpeg 失败时对外抛出异常
This commit is contained in:
parent
3037c315a3
commit
b12b10665a
@ -575,11 +575,13 @@ public class DeviceProxyService {
|
||||
mediaStatus();
|
||||
}
|
||||
|
||||
@SneakyThrows
|
||||
@Override
|
||||
public void onProcessFailed(ExecuteException e) {
|
||||
hasResult = true;
|
||||
log.error("ffmpeg 执行失败", e);
|
||||
close();
|
||||
throw e;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user