ffmpeg 失败时对外抛出异常

This commit is contained in:
shikong 2024-01-23 15:22:12 +08:00
parent 3037c315a3
commit b12b10665a

View File

@ -575,11 +575,13 @@ public class DeviceProxyService {
mediaStatus();
}
@SneakyThrows
@Override
public void onProcessFailed(ExecuteException e) {
hasResult = true;
log.error("ffmpeg 执行失败", e);
close();
throw e;
}
}