0.1.8 • Published 7 years ago

atem v0.1.8

Weekly downloads
14
License
ISC
Repository
github
Last release
7 years ago

Atem

Implementation of BlackMagicDesign's ATEM communication protocol (version 6.8) in javascript (written for nodejs).

Join the chat at https://gitter.im/Dev1an/Atem Licensed under MIT

Usage

Connect to an atem

To connect to an atem, simply create a new Atem instance and pass an IP address as first parameter of the constructor:

var Atem = require('atem') // Load the atem module
var myAtemDevice = new Atem("10.1.0.9") // Create a new Atem instace with an IP address

You can also create a new Atem instance and specify the IP address later on. Notice that if you do this, you need to call the connect method yourself:

var Atem = require('atem') // Load the atem module
var myAtemDevice = new Atem() // Create a new Atem instace without an IP address
myAtemDevice.ip = "10.1.0.9" // specify the ip address
myAtemDevice.connect() // manually connect to the atem

Receive notifications from your atem

To receive notifications about the connection state:

var Atem = require('atem') // Load the atem module
var myAtemDevice = new Atem() // Create a new Atem instace without an IP address
myAtemDevice.on('connectionStateChange', function(state) {
  console.log('state', state);
});

These events are currently implemented:

  • previewBus
  • programBus
  • inputTally
  • sourceTally
  • sourceConfiguration
  • auxiliaryOutput
  • connectionStateChange
  • connectionLost

If you need other events, create an issue. You can also fall back to the rawCommand event and interpret the raw data coming from the atem yourself.

You can read more about all the available events in the API reference

0.1.8

7 years ago

0.1.7

8 years ago

0.1.6

8 years ago

0.1.5

9 years ago

0.1.4

9 years ago

0.1.3

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago

0.0.1

9 years ago