NodeSettings interface
Settings common to all media nodes
Signature:
export interface NodeSettings<T extends MediaNodeState>
Properties
Property | Type | Description |
---|---|---|
string |
(Optional) Media Node identifier. If one is not specified, a random identifier will be generated. |
|
() ⇒ void |
(Optional) Called when the Node closes |
|
(node: T) ⇒ void |
(Optional) Callback to synchronously perform an action when node creation is complete (e.g. subscribe a downstream node before the first context/frame might arrive) |
|
() ⇒ void |
(Optional) Called when the Norsk session ends |
|
(error: Error) ⇒ void |
(Optional) Called with any errors from the Node |