RtmpOutputSettings interface

The settings for an RTMP output see: NorskOutput.rtmp()

Signature:

export interface RtmpOutputSettings extends SinkNodeSettings<RtmpOutputNode>, StreamStatisticsMixin

Properties

Property Type Description

avDelayMs?

number

(Optional) A/V delay in milliseconds (to allow embedded captions to be added)

bufferDelayMs?

number

(Optional) Jitter buffer delay in milliseconds

onConnectionFailure?

(failureReason: RtmpConnectionFailureReason) ⇒ void

(Optional) Called when the connection to the RTMP server fails

onPublishStart?

() ⇒ void

(Optional) Called when the RTMP output succesfully connects to a server and starts publishing data

retryConnectionTimeout?

number

(Optional) Number of seconds to wait until a retry is attempted to the RTMP server. Defaults to five seconds

sslOptions?

{ verifyPeerCert?: boolean; }

(Optional)

url

string

The URL of the remote RTMP server to connect to, including the full stream path and credentials