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)

chunkSize?

number

(Optional) RTMP Chunksize in bytes

jitterBuffer?

JitterBufferConfig

(Optional) Jitter buffer configuration

maxQueueMs?

number

(Optional) Maximum duration to hold any stream in the case that one or more are running behind. In the case the late stream is delayed rather than having a large gap, this will result in discarded input frames.

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