UNPKG

homebridge-eufy-security

Version:
35 lines 1.35 kB
export var SnapshotHandlingMethod; (function (SnapshotHandlingMethod) { /** Let the plugin decide the best method (defaults to CloudOnly) */ SnapshotHandlingMethod[SnapshotHandlingMethod["Auto"] = 0] = "Auto"; /** Always fetch a fresh snapshot from the camera (highest battery drain) */ SnapshotHandlingMethod[SnapshotHandlingMethod["AlwaysFresh"] = 1] = "AlwaysFresh"; /** Return cached snapshot if recent, otherwise fetch fresh */ SnapshotHandlingMethod[SnapshotHandlingMethod["Balanced"] = 2] = "Balanced"; /** Always return cached/cloud snapshot (lowest battery drain) */ SnapshotHandlingMethod[SnapshotHandlingMethod["CloudOnly"] = 3] = "CloudOnly"; })(SnapshotHandlingMethod || (SnapshotHandlingMethod = {})); export const DEFAULT_CAMERACONFIG_VALUES = { name: '', manufacturer: '', model: '', serialNumber: '', firmwareRevision: '', enableButton: true, motionButton: true, lightButton: true, talkback: false, talkbackChannels: 1, hsvRecordingDuration: 90, rtsp: false, enableCamera: true, snapshotHandlingMethod: SnapshotHandlingMethod.CloudOnly, delayCameraSnapshot: false, indoorChimeButton: false, }; export const DEFAULT_VIDEOCONFIG_VALUES = { probeSize: 16384, vcodec: 'copy', acodec: 'copy', }; //# sourceMappingURL=configTypes.js.map