SrtOutputSettings interface

The settings for an SRT output see: NorskOutput.srt()

Signature:

export interface SrtOutputSettings extends SinkNodeSettings<SrtOutputNode>, StreamStatisticsMixin

Events

Property Type Description

onConnection?

( streamId: string, streamIndex: number, remoteHost: string) ⇒ void

(Optional) On connect callback, notifying that a new caller has connected (in listener mode) and providing the stream_id that was set on the socket

Properties

Property Type Description

avDelayMs?

number

(Optional) A/V delay in milliseconds - to allow inclusion of subtitles, metadata and other ancillary data. May be set to 0 if these are not present to reduce latency

bufferDelayMs?

number

(Optional) Jitter buffer delay in milliseconds

host

string

The IP address or hostname to listen on in listener mode, or to connect to in caller mode

inputBandwidth?

number

(Optional) Input bandwidth (SRTO_INPUTBW)

maxBandwidth?

number

(Optional) Max bandwidth (SRTO_MAXBW)

mode

SrtMode

The mode to act in (see SrtMode)

overheadBandwidth?

number

(Optional) Overhead bandwidth (SRTO_OHEADBW)

passphrase?

string

(Optional) Passphrase for encryption

peerLatency?

number

(Optional) The latency value provided by the sender side as a minimum value for the receiver (SRTO_PEERLATENCY)

port

number

The port to listen on in listener mode, or to connect to in caller mode

receiveLatency?

number

(Optional) The latency value in the receiving direction of the socket (SRTO_RCVLATENCY)

streamId?

string

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