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

4.0.0 • Public • Published

Sofie Quantel Gateway client

This is the Quantel Gateway Client library, a part of the Sofie TV Automation System. This client-side library is used for communication to the Sofie Quantel Gateway.

General Sofie System Information


Usage

Prerequisites

  • 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

Usage 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.


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

19,071

Version

4.0.0

License

MIT

Unpacked Size

101 kB

Total Files

16

Last publish

Collaborators

  • nrk-sofie-ci