mirror of
https://gitee.com/pan648540858/wvp-GB28181-pro.git
synced 2026-05-24 05:57:49 +08:00
临时提交
This commit is contained in:
parent
d8d9f76d89
commit
bfa2c1b2e8
@ -168,7 +168,7 @@ public class RedisRpcController {
|
|||||||
*/
|
*/
|
||||||
public RedisRpcResponse onStreamOnlineEvent(RedisRpcRequest request) {
|
public RedisRpcResponse onStreamOnlineEvent(RedisRpcRequest request) {
|
||||||
StreamInfo streamInfo = JSONObject.parseObject(request.getParam().toString(), StreamInfo.class);
|
StreamInfo streamInfo = JSONObject.parseObject(request.getParam().toString(), StreamInfo.class);
|
||||||
log.info("[redis-rpc] 监听流上线: {}/{}", streamInfo.getApp(), streamInfo.getStream());
|
log.info("[redis-rpc] 监听流信息,等待流上线: {}/{}", streamInfo.getApp(), streamInfo.getStream());
|
||||||
// 查询本级是否有这个流
|
// 查询本级是否有这个流
|
||||||
StreamInfo streamInfoInServer = mediaServerService.getMediaByAppAndStream(streamInfo.getApp(), streamInfo.getStream());
|
StreamInfo streamInfoInServer = mediaServerService.getMediaByAppAndStream(streamInfo.getApp(), streamInfo.getStream());
|
||||||
if (streamInfoInServer != null) {
|
if (streamInfoInServer != null) {
|
||||||
@ -192,7 +192,6 @@ public class RedisRpcController {
|
|||||||
// 手动发送结果
|
// 手动发送结果
|
||||||
sendResponse(response);
|
sendResponse(response);
|
||||||
hookSubscribe.removeSubscribe(hook);
|
hookSubscribe.removeSubscribe(hook);
|
||||||
|
|
||||||
});
|
});
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user