GithubHelp home page GithubHelp logo

andrewmoore10 / tv-automation-mos-connection Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nrkno/sofie-mos-connection

0.0 2.0 0.0 1.46 MB

Sofie: The Modern TV News Studio Automation System (MOS Connection library)

Home Page: https://github.com/nrkno/Sofie-TV-automation/

License: MIT License

TypeScript 99.36% JavaScript 0.64%

tv-automation-mos-connection's Introduction

Sofie: The Modern TV News Studio Automation System (MOS Connection library)

CircleCI

Library for connecting to a MOS device using the MOS Protocol.

This is a part of the Sofie TV News Studio Automation System.

Getting started

import { MosConnection } from 'mos-connection'

let mos = new MosConnection(new ConnectionConfig({
	mosID: 'my.mos.application',
	acceptsConnections: true,
	profiles: {
		'0': true,
        '1': true,
        '2': true,
        '4': true
	},
	openRelay: true
	debug: false
}))
mos.onConnection((device: MosDevice) => { // called whenever there is a new connection to a mos-device
	if (device.hasConnection) { // true if we can send messages to the mos-server
	    device.getMachineInfo().then((lm) => {
			console.log('Machineinfo', lm)
		})
	}
	// Setup callbacks to pipe data:
	device.onGetMachineInfo(() => {})
	device.onCreateRunningOrder((ro) => {})
	device.onDeleteRunningOrder((RunningOrderID: MosString128) => {})
	device.onReadyToAir(() => {})
	// ...
})

Development status:

Basic connections

Working in dev environment

Profile 0

  • Implemented

Profile 1

  • Implemented

Profile 2

  • Implemented

Profile 3

  • Not started

Profile 4

  • Implemented

Profile 5

  • Not started

Profile 6

  • Not started

Profile 7

  • Not started

tv-automation-mos-connection's People

Contributors

hummelstrand avatar jesperstarkar avatar moeabm avatar nytamin avatar ojna avatar stephan-nordnes-eriksen avatar superflytvab avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.