Norsk class

The entrypoint for all Norsk Media applications

Signature:

export declare class Norsk

Example

const norsk = new Norsk();

Properties

Property Type Description

duplex

NorskDuplex

Implements the NorskDuplex interface

input

NorskInput

Implements the NorskInput interface

inspect

NorskInspect

Implements the NorskInspect interface

license

{ email: string; timeout?: number; expiry?: Timestamp; activeFeaturePacks: string[]; expiredFeaturePacks: string[]; }

Norsk license information

licenseHandshake?

{ accepted: boolean; message: string; }

(Optional) Licensing V2: the outcome of the license handshake, once connect() has resolved. undefined on a V1-licensed engine (no handshake); {accepted} on a V2 engine. When accepted is false, media node creation will be refused — message carries the engine’s reason. connect() resolves either way so callers can read this and surface it rather than discovering the failure only at the first node creation.

mediaStore

NorskMediaStore

Implements the NorskMediaStore interface

Nodes

MediaNodeState[]

All of the nodes created for this Norsk instance

output

NorskOutput

Implements the NorskOutput interface

PendingNodes

MediaNodeState[]

Nodes that are in the process of being created

processor

NorskProcessor

Implements the NorskProcessor interface

sdkVersion

string

Norsk SDK version information

settings

NorskSettings

/* The settings used to create this Norsk instance

system

NorskSystem

Implements the NorskSystem interface

version

Version

Norsk Runtime version information

Methods

Method Modifiers Description

close()

connect(settings)

static