UNPKG

homebridge-eufy-security-mikebcbc

Version:
30 lines 1.02 kB
/// <reference types="node" /> /// <reference types="node" /> import { EventEmitter, Readable } from 'stream'; import { Station, Device, StreamMetadata } from 'eufy-security-client'; import { StreamingDelegate } from './streamingDelegate'; export type StationStream = { station: Station; device: Device; metadata: StreamMetadata; videostream: Readable; audiostream: Readable; createdAt: number; }; export declare class LocalLivestreamManager extends EventEmitter { private streamingDelegate; private stationStream; private livestreamStartedAt; private livestreamIsStarting; private readonly platform; private readonly device; private log; constructor(streamingDelegate: StreamingDelegate); private initialize; getLocalLivestream(): Promise<StationStream>; private startAndGetLocalLiveStream; stopLocalLiveStream(): void; private onStationLivestreamStop; private onStationLivestreamStart; } //# sourceMappingURL=LocalLivestreamManager.d.ts.map