支持从redis消息更新推流设备状态

pull/549/head
648540858 2022-07-12 17:33:32 +08:00
parent 81f69eb6f4
commit be5dbc9a21
1 changed files with 8 additions and 0 deletions

View File

@ -707,4 +707,12 @@ public class RedisCatchStorageImpl implements IRedisCatchStorage {
}
@Override
public void sendStreamPushRequestedMsgForStatus() {
String key = VideoManagerConstants.VM_MSG_GET_ALL_ONLINE_REQUESTED;
logger.info("[redis 通知]获取所有推流设备的状态");
JSONObject jsonObject = new JSONObject();
jsonObject.put(key, key);
redis.convertAndSend(key, jsonObject);
}
}