How to use the timeline-state-resolver-types.MappingPanasonicPtzType.PRESET function in timeline-state-resolver-types

To help you get started, we’ve selected a few timeline-state-resolver-types examples, based on popular ways it is used in public projects.

github nrkno / tv-automation-server-core / meteor / server / databaseMigrationSystemSteps.ts View on Github external
type: SourceLayerType.CAMERA_MOVEMENT,
		onPGMClean: true,
		activateKeyboardHotkeys: '',
		assignHotkeysToGlobalAdlibs: false,
		unlimited: true
	}),
	ensureMapping('hyperdeck0', literal<MappingHyperdeck & MappingExt>({
		device: PlayoutDeviceType.HYPERDECK,
		deviceId: 'hyperdeck0',
		mappingType: MappingHyperdeckType.TRANSPORT,
		lookahead: LookaheadMode.NONE,
	})),
	ensureMapping('ptz0_preset', literal<MappingPanasonicPtz & MappingExt>({
		device: PlayoutDeviceType.PANASONIC_PTZ,
		deviceId: 'ptz0',
		mappingType: MappingPanasonicPtzType.PRESET,
		lookahead: LookaheadMode.WHEN_CLEAR,
	})),
	ensureMapping('ptz0_speed', literal<MappingPanasonicPtz & MappingExt>({
		device: PlayoutDeviceType.PANASONIC_PTZ,
		deviceId: 'ptz0',
		mappingType: MappingPanasonicPtzType.PRESET_SPEED,
		lookahead: LookaheadMode.NONE,
	})),
	ensureStudioConfig('sources_kam_ptz', '1:ptz0'),
	ensureDeviceVersion('ensureVersion.mosDevice', PeripheralDeviceAPI.DeviceType.MOSDEVICE, '_process', '0.1.1')
])

// 0.18.0: Release 4
addMigrationSteps( '0.18.0', [
	removeMapping('nora_permanent_klokke'),
	removeMapping('nora_permanent_logo'),