- Typescript
- Yarn
- Jest
- standard-version
- codecov
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.
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
})
}
This module will run tests by jest. (TBD)
$ yarn unit
- Inspired by CasparCG Hyperdeck from peschuster
- Parser and some constants are derived from hyperdeck-connection
- The public callback-promise API was inspired by mos-connection