How to use the timeline-state-resolver-types.MappingPanasonicPtzType.ZOOM_SPEED 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
},
	ensureMapping('pharos_lights', literal<MappingExt>({
		device: PlayoutDeviceType.PHAROS,
		deviceId: 'pharos0',
		lookahead: LookaheadMode.NONE,
	})),
	ensureMapping('ptz0_zoom', literal<MappingPanasonicPtz & MappingExt>({
		device: PlayoutDeviceType.PANASONIC_PTZ,
		deviceId: 'ptz0',
		mappingType: MappingPanasonicPtzType.ZOOM,
		lookahead: LookaheadMode.NONE,
	})),
	ensureMapping('ptz0_zoom_speed', literal<MappingPanasonicPtz & MappingExt>({
		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'),
	ensureSourceLayer({
		_id: 'studio0_audio_bed',
		_rank: 0,
		name: 'Bed',
		type: SourceLayerType.AUDIO,
		onPGMClean: true,