Skip to content

Typescript Node.js library for emulating a Blackmagic Hyperdeck

License

Notifications You must be signed in to change notification settings

mint-dewit/hyperdeck-server-connection

Repository files navigation

Hyperdeck server connection

CircleCI

Technology highlights

  • Typescript
  • Yarn
  • Jest
  • standard-version
  • codecov

Installation

For library developers installation steps are as following:

git clone https://github.com/baltedewit/hyperdeck-server-connection
yarn build

If you want to make a contribution, feel free to open a PR.

Usage

const { HyperdeckServer } = require('../dist/server')
const myHyperdeck = new Hyperdeck()

const s = new HyperdeckServer()
s.onPlay = async (cmd) => {
	console.log('playing', cmd)
	status.status = 'play'
	s.notifyTransport({
		...status,
		speed: '100',
		'slot id': '1',
		'clip id': '1',
		'single clip': 'true',
		'video format': '1080i50',
		loop: false
	})
}

Events

Test

This module will run tests by jest. (TBD)

$ yarn unit

Acknowledgements

About

Typescript Node.js library for emulating a Blackmagic Hyperdeck

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •