修正本地平台播放时上级无法点播同一流视频的问题
This commit is contained in:
parent
b492e78afd
commit
2e403fc527
@ -86,6 +86,9 @@ public class PlayServiceImpl implements IPlayService {
|
|||||||
msg.setId(DeferredResultHolder.CALLBACK_CMD_PlAY + uuid);
|
msg.setId(DeferredResultHolder.CALLBACK_CMD_PlAY + uuid);
|
||||||
msg.setData(JSON.toJSONString(streamInfo));
|
msg.setData(JSON.toJSONString(streamInfo));
|
||||||
resultHolder.invokeResult(msg);
|
resultHolder.invokeResult(msg);
|
||||||
|
if (hookEvent != null) {
|
||||||
|
hookEvent.response(JSONObject.parseObject(JSON.toJSONString(streamInfo)));
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
redisCatchStorage.stopPlay(streamInfo);
|
redisCatchStorage.stopPlay(streamInfo);
|
||||||
storager.stopPlay(streamInfo.getDeviceID(), streamInfo.getChannelId());
|
storager.stopPlay(streamInfo.getDeviceID(), streamInfo.getChannelId());
|
||||||
|
Loading…
Reference in New Issue
Block a user