How to use the timeline-state-resolver-types.MappingPanasonicPtzType.ZOOM 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
input: [{
			label: 'Playout-gateway: device "pharos0" not set up',
			description: 'Go into the settings of the Playout-gateway and setup the device "pharos0". ($validation)',
			inputType: null,
			attribute: null
		}]
	},
	ensureMapping('pharos_lights', literal({
		device: PlayoutDeviceType.PHAROS,
		deviceId: 'pharos0',
		lookahead: LookaheadMode.NONE,
	})),
	ensureMapping('ptz0_zoom', literal({
		device: PlayoutDeviceType.PANASONIC_PTZ,
		deviceId: 'ptz0',
		mappingType: MappingPanasonicPtzType.ZOOM,
		lookahead: LookaheadMode.NONE,
	})),
	ensureMapping('ptz0_zoom_speed', literal({
		device: PlayoutDeviceType.PANASONIC_PTZ,
		deviceId: 'ptz0',
		mappingType: MappingPanasonicPtzType.ZOOM_SPEED,
		lookahead: LookaheadMode.NONE,
	})),
	ensureStudioConfig('ApningCameraInitialZoom', 0),
	ensureStudioConfig('ApningCameraZoomSpeed', 0.1),
	ensureStudioConfig('ApningCameraZoomDuration', 3000),
	ensureStudioConfig('SluttCameraInitialZoom', 1),
	ensureStudioConfig('SluttCameraZoomSpeed', -0.1),
	ensureStudioConfig('SluttCameraZoomDuration', 3000),
	ensureDeviceVersion('ensureVersion.playoutDevice', PeripheralDeviceAPI.DeviceType.PLAYOUT, '_process', '0.13.0'),
	ensureDeviceVersion('ensureVersion.mosDevice', PeripheralDeviceAPI.DeviceType.MOSDEVICE, '_process', '0.4.2'),