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

ip

string

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

mode

SrtMode

The mode to act in (see SrtMode)

passphrase?

string

(Optional) Passphrase for encryption

port

number

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

streamId?

string

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