This is a wrapper for the Hyperdeck Device. Commands to any and all hyperdeck devices will be sent through here.

Hierarchy

  • Device<HyperdeckOptions, HyperdeckDeviceState, HyperdeckCommandWithContext>
    • HyperdeckDevice

Constructors

Properties

_connected: boolean = false
_expectedTransportStatus: undefined | TransportStatus
_hyperdeck: Hyperdeck = ...
_minRecordingTime: number = 0
_recTimePollTimer: undefined | Timer
_recordingTime: number = 0
_slotCount: number = 0
_slotStatus: Record<number, SlotInfoCommandResponse> = {}
_suppressEmptySlotWarnings: boolean = false
_transportStatus: undefined | TransportStatus
actions: {
    formatDisks: ((id: string, payload?: Record<string, any>) => Promise<ActionExecutionResult<undefined>>);
    resync: ((id: string, payload?: Record<string, any>) => Promise<ActionExecutionResult<undefined>>);
} = ...

Type declaration

context: DeviceContextAPI<HyperdeckDeviceState>

Accessors

Methods

  • Compares the new timeline-state with the old one, and generates commands to account for the difference

    Parameters

    • oldHyperdeckState: undefined | HyperdeckDeviceState

      The assumed current state

    • newHyperdeckState: HyperdeckDeviceState

      The desired state of the device

    Returns HyperdeckCommandWithContext[]

Generated using TypeDoc