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

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.
@@ -3,7 +3,7 @@ import { HTTPApi } from "./api";
3
3
  import { AlarmTone, NotificationSwitchMode, DeviceType, FloodlightMotionTriggeredDistance, GuardMode, NotificationType, PowerSource, PropertyName, TimeFormat, CommandName, VideoTypeStoreToNAS, HB3DetectionTypes, WalllightNotificationType, DailyLightingType, MotionActivationMode, LightingActiveMode, SourceType, T8170DetectionTypes, IndoorS350NotificationTypes, SoloCameraDetectionTypes, MotionDetectionRangeType, ViewModeType, FloodlightT8425NotificationTypes, PresetPositionType, IndoorS350DetectionTypes, EufyCamC35DetectionTypes } from "./types";
4
4
  import { SnoozeDetail, StationListResponse } from "./models";
5
5
  import { IndexedProperty, PropertyMetadataAny, PropertyValue, PropertyValues, RawValues, StationEvents, Schedule } from "./interfaces";
6
- import { CrossTrackingGroupEntry, DynamicLighting, MotionZone, RGBColor } from "../p2p/interfaces";
6
+ import { CrossTrackingGroupEntry, DynamicLighting, MotionZone, RGBColor, StreamTimeoutOptions } from "../p2p/interfaces";
7
7
  import { CalibrateGarageType, FilterDetectType, FilterEventType, FilterStorageType, P2PConnectionType, PanTiltDirection, VideoCodec, WatermarkSetting1, WatermarkSetting2, WatermarkSetting3, WatermarkSetting4, WatermarkSetting5 } from "../p2p/types";
8
8
  import { Device } from "./device";
9
9
  import { PushMessage } from "../push/models";
@@ -182,6 +182,7 @@ export declare class Station extends TypedEmitter<StationEvents> {
182
182
  startLivestream(device: Device, videoCodec?: VideoCodec): void;
183
183
  stopLivestream(device: Device): void;
184
184
  isLiveStreaming(device: Device): boolean;
185
+ setStreamTimeouts(options: StreamTimeoutOptions): void;
185
186
  isDownloading(device: Device): boolean;
186
187
  quickResponse(device: Device, voice_id: number): void;
187
188
  setChirpVolume(device: Device, value: number): void;
@@ -6592,7 +6592,10 @@ class Station extends tiny_typed_emitter_1.TypedEmitter {
6592
6592
  command: commandData,
6593
6593
  });
6594
6594
  }
6595
- else if (device.isOutdoorPanAndTiltCamera() || device.isBatteryDoorbellDualE340() || device.isFloodLightT8425()) {
6595
+ else if (device.isOutdoorPanAndTiltCamera() ||
6596
+ device.isBatteryDoorbellDualE340() ||
6597
+ device.isFloodLightT8425() ||
6598
+ ((device.isIndoorPTCameraE30() || device.isIndoorCameraBase()) && this.isDeviceControlledByHomeBase())) {
6596
6599
  logging_1.rootHTTPLogger.debug(`Station start livestream - sending command using CMD_DOORBELL_SET_PAYLOAD (1)`, {
6597
6600
  stationSN: this.getSerial(),
6598
6601
  deviceSN: device.getSerial(),
@@ -6617,9 +6620,8 @@ class Station extends tiny_typed_emitter_1.TypedEmitter {
6617
6620
  });
6618
6621
  }
6619
6622
  else if (device.isSoloCameras() ||
6620
- device.getDeviceType() === types_1.DeviceType.FLOODLIGHT_CAMERA_8423 ||
6621
- device.getDeviceType() === types_1.DeviceType.FLOODLIGHT_CAMERA_8424 ||
6622
- device.getDeviceType() === types_1.DeviceType.FLOODLIGHT_CAMERA_8424 ||
6623
+ device.isFloodLightT8423() ||
6624
+ device.isFloodLightT8424() ||
6623
6625
  device.isWiredDoorbellT8200X() ||
6624
6626
  device.isWallLightCam() ||
6625
6627
  device.isGarageCamera()) {
@@ -6847,6 +6849,9 @@ class Station extends tiny_typed_emitter_1.TypedEmitter {
6847
6849
  return false;
6848
6850
  return this.p2pSession.isLiveStreaming(device.getChannel());
6849
6851
  }
6852
+ setStreamTimeouts(options) {
6853
+ this.p2pSession.setStreamTimeouts(options);
6854
+ }
6850
6855
  isDownloading(device) {
6851
6856
  if (device.getStationSerial() !== this.getSerial())
6852
6857
  return false;