Interface LegacyCameraSource

Interface of and old style CameraSource. See Accessory.configureCameraSource for more Information.

Deprecated

was replaced by CameraStreamingDelegate utilized by the CameraController

interface LegacyCameraSource {
    services: Service[];
    streamControllers: StreamController[];
    handleCloseConnection(connectionID): void;
    handleSnapshotRequest(request, callback): void;
    handleStreamRequest(request): void;
    prepareStream(request, callback): void;
}

Properties

services: Service[]
streamControllers: StreamController[]

Methods

  • Parameters

    • connectionID: string

    Returns void