Browse Source

修正本地平台播放时上级无法点播同一流视频的问题

pull/67/head
lawrencehj 4 years ago
parent
commit
968ec879f5
  1. 3
      src/main/java/com/genersoft/iot/vmp/vmanager/service/impl/PlayServiceImpl.java

3
src/main/java/com/genersoft/iot/vmp/vmanager/service/impl/PlayServiceImpl.java

@ -86,6 +86,9 @@ public class PlayServiceImpl implements IPlayService {
msg.setId(DeferredResultHolder.CALLBACK_CMD_PlAY + uuid);
msg.setData(JSON.toJSONString(streamInfo));
resultHolder.invokeResult(msg);
if (hookEvent != null) {
hookEvent.response(JSONObject.parseObject(JSON.toJSONString(streamInfo)));
}
} else {
redisCatchStorage.stopPlay(streamInfo);
storager.stopPlay(streamInfo.getDeviceID(), streamInfo.getChannelId());

Loading…
Cancel
Save