Skip to content

Commit

Permalink
Merge pull request #363 from bbc/feat/atem-stinger-options
Browse files Browse the repository at this point in the history
feat(atem): add stinger support
  • Loading branch information
jstarpl authored Dec 19, 2024
2 parents f2d9c1d + d4378e1 commit 90290ce
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
15 changes: 15 additions & 0 deletions packages/timeline-state-resolver-types/src/integrations/atem.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,21 @@ export interface AtemTransitionSettings {
input: number
}
// stinger
stinger?: {
/** index of the mediaplayer (0-3) - note: putting this at a number that the mixer doesn't support may crash the connection */
source: number
preMultipliedKey?: boolean

clip?: number
/** 0 - 1000 */
gain?: number
invert?: boolean

preroll?: number
clipDuration?: number
triggerPoint?: number
mixRate?: number
}
wipe?: {
/** 1 - 250 frames */
rate?: number
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ exports[`Diff States Simple diff against empty state 1`] = `
"DVE": false,
"dip": false,
"mix": true,
"stinger": false,
"stinger": true,
"wipe": true,
},
"transitionStatus": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export function createDiffOptions(mappings: Mappings<SomeMappingAtem>): DeepComp
dip: false,
DVE: false,
mix: true,
stinger: false,
stinger: true,
wipe: true,
},
upstreamKeyers: {
Expand Down

0 comments on commit 90290ce

Please sign in to comment.