eufy-security-client 3.8.0-dev.15 → 3.8.0-dev.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1771,6 +1771,7 @@ class P2PClientProtocol extends tiny_typed_emitter_1.TypedEmitter {
1771
1771
  }
1772
1772
  isIFrame(data, isKeyFrame) {
1773
1773
  if (this.rawStation.station_sn.startsWith("T8410") ||
1774
+ this.rawStation.station_sn.startsWith("T8417") ||
1774
1775
  this.rawStation.station_sn.startsWith("T8400") ||
1775
1776
  this.rawStation.station_sn.startsWith("T8401") ||
1776
1777
  this.rawStation.station_sn.startsWith("T8411") ||
@@ -1884,6 +1885,7 @@ class P2PClientProtocol extends tiny_typed_emitter_1.TypedEmitter {
1884
1885
  this.currentMessageState[message.dataType].p2pStreamMetadata.videoWidth = videoMetaData.videoWidth;
1885
1886
  if (!this.currentMessageState[message.dataType].p2pStreamFirstVideoDataReceived) {
1886
1887
  if (this.rawStation.station_sn.startsWith("T8410") ||
1888
+ this.rawStation.station_sn.startsWith("T8417") ||
1887
1889
  this.rawStation.station_sn.startsWith("T8400") ||
1888
1890
  this.rawStation.station_sn.startsWith("T8401") ||
1889
1891
  this.rawStation.station_sn.startsWith("T8411") ||
@@ -2856,11 +2858,16 @@ class P2PClientProtocol extends tiny_typed_emitter_1.TypedEmitter {
2856
2858
  this.emit("garage door status", message.channel, payload.door_id, payload.type);
2857
2859
  }
2858
2860
  }
2859
- else if (json.cmd === types_1.CommandType.CMD_STORAGE_INFO_HB3) {
2861
+ else if (json.cmd === 6246) {
2860
2862
  const payload = json.payload;
2861
- logging_1.rootP2PLogger.debug(`Handle DATA ${types_1.P2PDataType[message.dataType]} - CMD_NOTIFY_PAYLOAD StorageInfo HB3 update`, { stationSN: this.rawStation.station_sn, body: payload?.body });
2862
- if (payload) {
2863
- this.emit("storage info hb3", message.channel, payload.body);
2863
+ logging_1.rootP2PLogger.debug(`Handle DATA ${types_1.P2PDataType[message.dataType]} - CMD_NOTIFY_PAYLOAD Livestream status`, { stationSN: this.rawStation.station_sn, payload: payload });
2864
+ if (payload?.num !== undefined) {
2865
+ if (payload.num > 0) {
2866
+ this.emit("rtsp livestream started", message.channel);
2867
+ }
2868
+ else {
2869
+ this.emit("rtsp livestream stopped", message.channel);
2870
+ }
2864
2871
  }
2865
2872
  }
2866
2873
  else if (json.cmd === types_1.CommandType.CMD_HUB_NOTIFY_UPDATE) {