NorskSettings interface

Top level Norsk configuration

Signature:

export interface NorskSettings

Properties

Property Type Description

onAmdMA35DLoad?

(load: AmdMA35DLoad) ⇒ void

(Optional)

onAttemptingToConnect?

() ⇒ void

(Optional)

onConnecting?

() ⇒ void

(Optional)

onCurrentLoad?

(load: CurrentLoad) ⇒ void

(Optional)

onFailedToConnect?

() ⇒ void

(Optional)

onHello?

(version: Version) ⇒ void

(Optional)

onLicenseEvent?

(message: string, running: boolean) ⇒ void

(Optional) Manually handle license events, such as missing/invalid licenses and sandbox timeout. (Logs messages to console by default.)

onLogEvent?

(log: Log) ⇒ void

(Optional)

onReady?

() ⇒ void

(Optional)

onShutdown?

() ⇒ void

(Optional) Code to execute if the Norsk node is shutdown - by default it logs and nothing else

url?

string

(Optional) Callback URL to listen on for gRPC session with Norsk Media Defaults to $NORSK_HOST:$NORSK_PORT if the environment variables are set where NORSK_HOST defaults to "127.0.0.1" and NORSK_PORT to "6790" (so "127.0.0.1:6790" if neither variable is set)