|
@@ -327,6 +327,7 @@ public class VideoStableServiceImpl extends BaseServiceImpl<VideoStableMapper, V
|
|
|
public CommonResult stop(Long id) {
|
|
|
VideoStable videoStable = getById(id);
|
|
|
|
|
|
+ videoStable.setLogPath(videoStable.getOutputPath() + File.separator + getLogFileName(videoStable));
|
|
|
HttpResponseEntity responseEntity = sendPostMsg(video_stable_stop_url, videoStable);
|
|
|
if (ObjectUtil.isNotNull(responseEntity) && responseEntity.getStatus() == 200) {
|
|
|
videoStable.setStatus(BizConstant.VideoStatus.INTERRUPTED);
|