tv-automation-quantel-gateway-client
TypeScript icon, indicating that this package has built-in type declarations

3.1.11-agent-debug-20230117-160455-c2c4ee4.0 • Public • Published

Sofie: The Modern TV News Studio Automation System (Quantel gateway client)

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

Abstract

A client-side library for the Sofie Quantel Gateway.

Usage

Pre-requisites

  • A Quantel ISA SQ system and the IP address or DNS name of the ISA manager(s).
  • An installed and running Quantel Gateway, with IP address and port number.

Installing for your application

Use npm or yarn to install the package. As a typescript project, type definiitons are included. One of:

npm install quantel-gateway-client
yarn add quantel-gateway-client

Using in an application

Create a Quantel Gateway Client instance and initialize it to connect to to the gateway.

import { QuantelGateway, Q } from 'quantel-gateway-client'

const quantelClient = new QuantelGateway()
await quantelCient.init(
	'quantel.gateway.url:port',
	'quantel.isa.url', // or ['quantel.masterISA.url', 'quantel.slaveISA.url, ...]
	'default',
	serverID
)

If the serverID is not known, before calling init() request the details of all servers:

await quantelClient.connectToISA('quantel.isa.url')
const servers = await quantelClient.getServers('default')

Then initialize the client as above.

Once finished with the class, call dispose().

Documentation

The library is self-documenting using TypeDoc annotations. Details of the REST API that this library is a client for can be found in the Quantel Gateway documentation.

License

MIT.


The NRK logo is a registered trademark of Norsk rikskringkasting AS. The license does not grant any right to use, in any way, any trademarks, service marks or logos of Norsk rikskringkasting AS.

Package Sidebar

Install

npm i tv-automation-quantel-gateway-client

Weekly Downloads

1,883

Version

3.1.11-agent-debug-20230117-160455-c2c4ee4.0

License

MIT

Unpacked Size

104 kB

Total Files

18

Last publish

Collaborators

  • nrk-sofie-ci