Skip to content

Commit

Permalink
fix: expose startup state commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Julusian committed May 30, 2021
1 parent 087b918 commit 1fecaa3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/atem.ts
Original file line number Diff line number Diff line change
Expand Up @@ -922,6 +922,15 @@ export class Atem extends BasicAtem {
return this.sendCommand(command)
}

public saveStartupState(): Promise<void> {
const command = new Commands.StartupStateSaveCommand()
return this.sendCommand(command)
}
public clearStartupState(): Promise<void> {
const command = new Commands.StartupStateClearCommand()
return this.sendCommand(command)
}

public listVisibleInputs(mode: 'program' | 'preview', me = 0): number[] {
if (this.state) {
return listVisibleInputs(mode, this.state, me)
Expand Down

0 comments on commit 1fecaa3

Please sign in to comment.