SrtInputSettings interface

Settings for an SRT Input node see: NorskInput.srt()

Signature:

export interface SrtInputSettings extends RemoteInputSettings<SrtInputNode>, StreamStatisticsMixin

Events

Property Type Description

onConnection?

( 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

onConnectionStatusChange?

( status: SrtInputStatus, sourceName: string | undefined) ⇒ void

(Optional) Called when the connection status has changed (e.g. when the SRT socket is closed)

Properties

Property Type Description

mode

SrtMode

The mode to act in (caller or listener)

passphrase?

string

(Optional) Passphrase for encryption

streamId?

string

(Optional) Stream ID to set on the socket when acting in caller mode