SrtInputSettings interface
Settings for an SRT Input node see: NorskInput.srt()
Signature:
export interface SrtInputSettings extends RemoteInputSettings<SrtInputNode>, StreamStatisticsMixin
Extends: RemoteInputSettings<SrtInputNode>, StreamStatisticsMixin
Events
Property | Type | Description |
---|---|---|
( streamId: string, index: number, remoteHost: string) ⇒ SrtConnectionResult |
(Optional) On connect callback, notifying that a new caller has connected (in listener mode) and set the source name accordingly |
|
( status: SrtInputStatus, sourceName: string | undefined) ⇒ void |
(Optional) Called when the connection status has changed (e.g. when the SRT socket is closed) |