atem-connection
Version:
Typescript Node.js library for connecting with an ATEM switcher.
30 lines • 809 B
TypeScript
import * as Enums from '../enums';
export interface MediaPlayer {
playing: boolean;
loop: boolean;
atBeginning: boolean;
clipFrame: number;
}
export interface MediaPlayerSource {
sourceType: Enums.MediaSourceType;
clipIndex: number;
stillIndex: number;
}
export type MediaPlayerState = MediaPlayer & MediaPlayerSource;
export interface MediaState {
readonly stillPool: Array<StillFrame | undefined>;
readonly clipPool: Array<ClipBank | undefined>;
readonly players: Array<MediaPlayerState | undefined>;
}
export interface StillFrame {
isUsed: boolean;
hash: string;
fileName: string;
}
export interface ClipBank {
isUsed: boolean;
name: string;
frameCount: number;
frames: Array<StillFrame | undefined>;
}
//# sourceMappingURL=media.d.ts.map