How to use the timeline-state-resolver-types.MappingHyperdeckType.TRANSPORT 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.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github nrkno / tv-automation-server-core / meteor / server / databaseMigrationSystemSteps.ts View on Github external
isHidden: true
	}),
	ensureSourceLayer({
		_id: 'studio0_ptz',
		_rank: 0,
		name: 'Robotics',
		type: SourceLayerType.CAMERA_MOVEMENT,
		onPGMClean: true,
		activateKeyboardHotkeys: '',
		assignHotkeysToGlobalAdlibs: false,
		unlimited: true
	}),
	ensureMapping('hyperdeck0', literal({
		device: PlayoutDeviceType.HYPERDECK,
		deviceId: 'hyperdeck0',
		mappingType: MappingHyperdeckType.TRANSPORT,
		lookahead: LookaheadMode.NONE,
	})),
	ensureMapping('ptz0_preset', literal({
		device: PlayoutDeviceType.PANASONIC_PTZ,
		deviceId: 'ptz0',
		mappingType: MappingPanasonicPtzType.PRESET,
		lookahead: LookaheadMode.WHEN_CLEAR,
	})),
	ensureMapping('ptz0_speed', literal({
		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')