UNPKG

casparcg-state

Version:

Node.js Javascript/Typescript library for keeping and resolving a given state of CasparCG into commands for casparcg-connection.

10 lines 594 B
import { InternalState } from '../stateObjectStorage'; import { State } from '../api'; import { DiffCommands } from '../casparCGState'; export { resolveForegroundState, diffForeground }; declare function diffForeground(oldState: InternalState, newState: State, channel: string, layer: string, minTimeSincePlay: number): string | null; declare function resolveForegroundState(oldState: InternalState, newState: State, channel: string, layer: string, currentTime: number, minTimeSincePlay: number): { commands: DiffCommands; bgCleared: boolean; }; //# sourceMappingURL=foreground.d.ts.map