视频会议调用调解系统
This commit is contained in:
+9
-3
@@ -137,13 +137,17 @@ public class VideoServiceImpl implements VideoService {
|
|||||||
try {
|
try {
|
||||||
// 调解系统roomId>4294967294L/2
|
// 调解系统roomId>4294967294L/2
|
||||||
if(StrUtil.isNotEmpty(roomId)) {
|
if(StrUtil.isNotEmpty(roomId)) {
|
||||||
if (Integer.getInteger(roomId) > 4294967294L / 2) {
|
log.debug("roomId:" + roomId);
|
||||||
|
if (Long.valueOf(roomId) > 4294967294L / 2) {
|
||||||
|
log.debug("调用调解系统:" );
|
||||||
|
log.debug("回调jsonObject:"+jsonObject );
|
||||||
// 调用调解系统
|
// 调用调解系统
|
||||||
cn.hutool.json.JSONObject params = JSONUtil.createObj();
|
cn.hutool.json.JSONObject params = JSONUtil.createObj();
|
||||||
params.set("roomId",roomId);
|
params.set("roomId",roomId);
|
||||||
params.set("fileId",fileId);
|
params.set("fileId",fileId);
|
||||||
params.set("videoUrl",videoUrl);
|
params.set("videoUrl",videoUrl);
|
||||||
HttpUtil.post("http://172.16.1.14:6001/video/videoRollBack",params.toJSONString(2));
|
String post = HttpUtil.post("http://121.40.189.20:7001/video/videoRollBack", params.toJSONString(2));
|
||||||
|
throw new RuntimeException(post);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
downloadImage(fileId, videoUrl, roomId);
|
downloadImage(fileId, videoUrl, roomId);
|
||||||
@@ -151,7 +155,7 @@ public class VideoServiceImpl implements VideoService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
throw new RuntimeException(e);
|
throw new RuntimeException("roomId:"+roomId);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -188,6 +192,8 @@ public class VideoServiceImpl implements VideoService {
|
|||||||
return success(caseAttachList);
|
return success(caseAttachList);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 开启腾讯云录制
|
* 开启腾讯云录制
|
||||||
* @param roomId
|
* @param roomId
|
||||||
|
|||||||
Reference in New Issue
Block a user