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