Commit be5dbc9a21bd0af63f2ae8fc96b7fe9e1bbbc780

Authored by 648540858
1 parent 81f69eb6

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

src/main/java/com/genersoft/iot/vmp/storager/impl/RedisCatchStorageImpl.java
@@ -707,4 +707,12 @@ public class RedisCatchStorageImpl implements IRedisCatchStorage { @@ -707,4 +707,12 @@ public class RedisCatchStorageImpl implements IRedisCatchStorage {
707 } 707 }
708 708
709 709
  710 + @Override
  711 + public void sendStreamPushRequestedMsgForStatus() {
  712 + String key = VideoManagerConstants.VM_MSG_GET_ALL_ONLINE_REQUESTED;
  713 + logger.info("[redis 通知]获取所有推流设备的状态");
  714 + JSONObject jsonObject = new JSONObject();
  715 + jsonObject.put(key, key);
  716 + redis.convertAndSend(key, jsonObject);
  717 + }
710 } 718 }