@tv2media/timeline-state-resolver-types
Advanced tools
Comparing version 3.2.0 to 3.3.0
@@ -6,2 +6,8 @@ # Change Log | ||
## [3.3.0](https://github.com/tv2/tv-automation-state-timeline-resolver/compare/3.2.0...3.3.0) (2023-02-28) | ||
### Features | ||
- SOF-1254 add TriCaster matrix support ([dbb1b26](https://github.com/tv2/tv-automation-state-timeline-resolver/commit/dbb1b26e84a41227e3eca0fae902bf5b57ca5d8e)) | ||
## [3.2.0](https://github.com/tv2/tv-automation-state-timeline-resolver/compare/3.0.3...3.2.0) (2023-02-15) | ||
@@ -8,0 +14,0 @@ |
@@ -11,3 +11,5 @@ import { Mapping } from './mapping'; | ||
export declare type TriCasterMixOutputName = `mix${number}`; | ||
export declare type TriCasterMatrixOutputName = `out${number}`; | ||
export declare type TriCasterMixOutputSource = TriCasterSourceName | TriCasterMixEffectName | 'program' | 'preview' | 'program_clean' | 'me_program' | 'me_preview'; | ||
export declare type TriCasterMatrixOutputSource = TriCasterSourceName | TriCasterMixOutputName; | ||
interface MappingTriCasterBase extends Mapping { | ||
@@ -37,2 +39,6 @@ device: DeviceType.TRICASTER; | ||
} | ||
export interface MappingTriCasterMatrixOutput extends MappingTriCasterBase { | ||
mappingType: MappingTriCasterType.MATRIX_OUTPUT; | ||
name: TriCasterMatrixOutputName; | ||
} | ||
export declare enum MappingTriCasterType { | ||
@@ -43,5 +49,6 @@ ME = "ME", | ||
AUDIO_CHANNEL = "AUDIO_CHANNEL", | ||
MIX_OUTPUT = "MIX_OUTPUT" | ||
MIX_OUTPUT = "MIX_OUTPUT", | ||
MATRIX_OUTPUT = "MATRIX_OUTPUT" | ||
} | ||
export declare type MappingTriCaster = MappingTriCasterMixEffect | MappingTriCasterDownStreamKeyer | MappingTriCasterInput | MappingTriCasterAudioChannel | MappingTriCasterMixOutput; | ||
export declare type MappingTriCaster = MappingTriCasterMixEffect | MappingTriCasterDownStreamKeyer | MappingTriCasterInput | MappingTriCasterAudioChannel | MappingTriCasterMixOutput | MappingTriCasterMatrixOutput; | ||
export interface TriCasterOptions { | ||
@@ -56,5 +63,6 @@ host: string; | ||
AUDIO_CHANNEL = "AUDIO_CHANNEL", | ||
MIX_OUTPUT = "MIX_OUTPUT" | ||
MIX_OUTPUT = "MIX_OUTPUT", | ||
MATRIX_OUTPUT = "MATRIX_OUTPUT" | ||
} | ||
export declare type TimelineObjTriCasterAny = TimelineObjTriCasterME | TimelineObjTriCasterDSK | TimelineObjTriCasterInput | TimelineObjTriCasterAudioChannel | TimelineObjTriCasterMixOutput; | ||
export declare type TimelineObjTriCasterAny = TimelineObjTriCasterME | TimelineObjTriCasterDSK | TimelineObjTriCasterInput | TimelineObjTriCasterAudioChannel | TimelineObjTriCasterMixOutput | TimelineObjTriCasterMatrixOutput; | ||
export interface TimelineObjTriCasterBase extends TSRTimelineObjBase { | ||
@@ -135,2 +143,5 @@ content: { | ||
export declare function isTimelineObjTriCasterAudioChannel(timelineObject: TSRTimelineObjBase): timelineObject is TimelineObjTriCasterAudioChannel; | ||
/** | ||
* Output usually referred to as Video Mix Output | ||
*/ | ||
export interface TimelineObjTriCasterMixOutput extends TimelineObjTriCasterBase { | ||
@@ -141,5 +152,5 @@ content: { | ||
/** | ||
* Any of the named Inputs, Media Players and Buffers ('INPUTn', 'DDRn', 'BFRn') e.g. 'INPUT12' or | ||
* any of the MEs ('Vn') e.g. 'V1' or | ||
* or 'Program', 'Preview', 'program_clean', 'me_program', 'me_preview' | ||
* Any of the named Inputs, Media Players and Buffers ('inputN', 'ddrN', 'bfrN') e.g. 'input12' | ||
* or any of the MEs ('vN') e.g. 'v1' | ||
* or 'program', 'preview', 'program_clean', 'me_program', 'me_preview' | ||
*/ | ||
@@ -150,2 +161,17 @@ source: TriCasterMixOutputSource; | ||
export declare function isTimelineObjTriCasterMixOutput(timelineObject: TSRTimelineObjBase): timelineObject is TimelineObjTriCasterMixOutput; | ||
/** | ||
* Output from the Internal Matrix Router (crosspoint) | ||
*/ | ||
export interface TimelineObjTriCasterMatrixOutput extends TimelineObjTriCasterBase { | ||
content: { | ||
deviceType: DeviceType.TRICASTER; | ||
type: TimelineContentTypeTriCaster.MATRIX_OUTPUT; | ||
/** | ||
* Any of the named Inputs, Media Players and Buffers ('inputN', 'ddrN', 'bfrN') e.g. 'input12' | ||
* or mix outputs ('mixN') e.g. 'mix2' | ||
*/ | ||
source: TriCasterMatrixOutputSource; | ||
} & TimelineDatastoreReferencesContent; | ||
} | ||
export declare function isTimelineObjTriCasterMatrixOutput(timelineObject: TSRTimelineObjBase): timelineObject is TimelineObjTriCasterMatrixOutput; | ||
export declare type TriCasterTransitionEffect = 'cut' | 'fade' | number; | ||
@@ -152,0 +178,0 @@ /** |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.isTimelineObjTriCasterMixOutput = exports.isTimelineObjTriCasterAudioChannel = exports.isTimelineObjTriCasterInput = exports.isTimelineObjTriCasterDSK = exports.isTimelineObjTriCaster = exports.isTimelineObjTriCasterME = exports.TimelineContentTypeTriCaster = exports.MappingTriCasterType = void 0; | ||
exports.isTimelineObjTriCasterMatrixOutput = exports.isTimelineObjTriCasterMixOutput = exports.isTimelineObjTriCasterAudioChannel = exports.isTimelineObjTriCasterInput = exports.isTimelineObjTriCasterDSK = exports.isTimelineObjTriCaster = exports.isTimelineObjTriCasterME = exports.TimelineContentTypeTriCaster = exports.MappingTriCasterType = void 0; | ||
const _1 = require("."); | ||
@@ -12,2 +12,3 @@ var MappingTriCasterType; | ||
MappingTriCasterType["MIX_OUTPUT"] = "MIX_OUTPUT"; | ||
MappingTriCasterType["MATRIX_OUTPUT"] = "MATRIX_OUTPUT"; | ||
})(MappingTriCasterType = exports.MappingTriCasterType || (exports.MappingTriCasterType = {})); | ||
@@ -21,2 +22,3 @@ var TimelineContentTypeTriCaster; | ||
TimelineContentTypeTriCaster["MIX_OUTPUT"] = "MIX_OUTPUT"; | ||
TimelineContentTypeTriCaster["MATRIX_OUTPUT"] = "MATRIX_OUTPUT"; | ||
})(TimelineContentTypeTriCaster = exports.TimelineContentTypeTriCaster || (exports.TimelineContentTypeTriCaster = {})); | ||
@@ -47,2 +49,6 @@ function isTimelineObjTriCasterME(timelineObject) { | ||
exports.isTimelineObjTriCasterMixOutput = isTimelineObjTriCasterMixOutput; | ||
function isTimelineObjTriCasterMatrixOutput(timelineObject) { | ||
return (isTimelineObjTriCaster(timelineObject) && timelineObject.content.type === TimelineContentTypeTriCaster.MATRIX_OUTPUT); | ||
} | ||
exports.isTimelineObjTriCasterMatrixOutput = isTimelineObjTriCasterMatrixOutput; | ||
//# sourceMappingURL=tricaster.js.map |
{ | ||
"name": "@tv2media/timeline-state-resolver-types", | ||
"version": "3.2.0", | ||
"version": "3.3.0", | ||
"description": "Have timeline, control stuff", | ||
@@ -70,3 +70,3 @@ "main": "dist/index.js", | ||
}, | ||
"gitHead": "95787aafc92e974b70e9e0a35d2330286437c370" | ||
"gitHead": "be02cadf9a214713ce8e0e05a0cd2afb18ec0f3c" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
246318
3629