Browse Source

Merge remote-tracking branch 'origin/dev' into dev

nantong
李克 1 month ago
parent
commit
f82d9b9f85
  1. 4
      dk-modules/sample/src/main/java/org/dromara/sample/rocketmq/RocketMqConsum.java

4
dk-modules/sample/src/main/java/org/dromara/sample/rocketmq/RocketMqConsum.java

@ -79,8 +79,8 @@ public class RocketMqConsum implements RocketMQListener<MessageExt> {
} }
}else if(tags.equals("videoStopStart")){ }else if(tags.equals("videoStopStart")){
HttpResultResponse httpResultResponse = liveStreamService.liveStop(videoId); liveStreamService.liveStop(videoId);
liveStreamService.liveStart(liveTypeDTO); HttpResultResponse httpResultResponse = liveStreamService.liveStart(liveTypeDTO);
if (httpResultResponse.getCode() == 0 || httpResultResponse.getCode() == 513012 || httpResultResponse.getCode() == 513003){ if (httpResultResponse.getCode() == 0 || httpResultResponse.getCode() == 513012 || httpResultResponse.getCode() == 513003){
Map<String,Object> reqMap = new HashMap<>(); Map<String,Object> reqMap = new HashMap<>();
reqMap.put("deviceSn:",videoId.getDroneSn()); reqMap.put("deviceSn:",videoId.getDroneSn());

Loading…
Cancel
Save