0.1.6 • Published 8 months ago

vmix-node v0.1.6

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

vMix library for NodeJS

⚠️⚠️WORK IN PROGRESS⚠️⚠️

This library allows you to control vMix from NodeJS.

Installation

npm install vmix-node

Quick Start

import { ConnectionVMix, TallyArray } from "vmix-node";

// Create a new connection to vMix
const vMix = new ConnectionVMix();

// Listen for connect event
vMix.on("connect", async () => {
  console.log("Connected to vMix");
});

// Listen for disconnect event
vMix.on("disconnect", () => {
  console.log("Disconnected from vMix");
});

// Listen for tally event
vMix.on("tally", (tally: TallyArray) => {
  console.log('TALLY:', tally);
});

(async () => {
  // connect to vMix
  await vMix.connectAsync();

  // send tally command
  vMix.sendCommand("TALLY");

  // subscribe to tally events
  vMix.subscribe("TALLY");


})();

Implemented Commands

  • ✅ VERSION
  • ✅ TALLY
  • ✅ ACTS
  • ✅ SUBSCRIBE
  • ✅ UNSUBSCRIBE
  • ❌ FUNCTION
  • ❌ XML
  • ❌ XMLTEXT
0.1.6

8 months ago

0.1.5

8 months ago

0.1.4

8 months ago

0.1.3

8 months ago

0.1.2

8 months ago

0.1.1

8 months ago

0.1.0

8 months ago