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

inputBandwidth?

number

(Optional) Input bandwidth (SRTO_INPUTBW)

ip

string

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

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