NorskSettings interface
Top level Norsk configuration
Signature:
export interface NorskSettings
Properties
| Property | Type | Description |
|---|---|---|
Partial<grpc.ClientOptions> |
(Optional) |
|
(load: AmdMA35DLoad) ⇒ void |
(Optional) |
|
() ⇒ void |
(Optional) |
|
() ⇒ void |
(Optional) |
|
(load: CurrentLoad) ⇒ void |
(Optional) |
|
() ⇒ void |
(Optional) |
|
(version: Version) ⇒ void |
(Optional) |
|
(event: IrohEndpointEvent) ⇒ void |
(Optional) A connection event on the shared iroh endpoint (peer connected / rejected by the allow-list / disconnected). remoteNodeId is the peer’s TLS-verified public key (64-char hex). |
|
(challenge: Uint8Array) ⇒ Promise<LicenseChallengeResponse> | LicenseChallengeResponse |
(Optional) Licensing V2: respond to the engine’s license challenge. Engines holding a per-product (V2) license send a challenge nonce in their hello and refuse to create media nodes until a product (e.g. Studio) has answered it with its certs and signatures. V1-licensed engines never issue a challenge, so plain SDK applications can ignore this setting entirely. |
|
(message: string) ⇒ void |
(Optional) Licensing V2: called if the license handshake fails (or no responder was supplied). connect() still resolves; |
|
(message: string, running: boolean, fullEvent: LicenseEvent) ⇒ void |
(Optional) Manually handle license events, such as missing/invalid licenses and sandbox timeout. (Logs messages to console by default.) |
|
(log: Log) ⇒ void |
(Optional) |
|
(notification: Notification) ⇒ void |
(Optional) |
|
(cleared: NotificationCleared) ⇒ void |
(Optional) A previously-raised notification has been retracted (condition cleared) |
|
() ⇒ void |
(Optional) |
|
() ⇒ void |
(Optional) Code to execute if the Norsk node is shutdown - by default it logs and nothing else |
|
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) |