casparcg-state
Version:
Node.js Javascript/Typescript library for keeping and resolving a given state of CasparCG into commands for casparcg-connection.
12 lines • 557 B
TypeScript
import { InternalState } from '../stateObjectStorage';
import { State } from '../api';
import { DiffCommands } from '../casparCGState';
export { diffBackground, resolveBackgroundState };
declare function diffBackground(oldState: InternalState, newState: State, channel: string, layer: string): {
bgDiff: string | null;
noClear: boolean;
};
declare function resolveBackgroundState(oldState: InternalState, newState: State, channel: string, layer: string, forceDiff?: boolean): {
commands: DiffCommands;
};
//# sourceMappingURL=background.d.ts.map