RtmpServerInputSettings interface
Settings to control how RTMP streams can be included as sources in your media workflow see: NorskInput.rtmpServer()
Signature:
export interface RtmpServerInputSettings extends SourceNodeSettings<RtmpServerInputNode>, StreamStatisticsMixinEvents
| Property | Type | Description | 
|---|---|---|
| ( connectionId: string, app: string, url: string) ⇒ { accept: true; } | { accept: false; reason?: string; } | (Optional) On connect callback, use to accept/reject connections given app/url in use | |
| ( connectionId: string, status: RtmpServerInputStatus, streamKeys: { audioStreamKey: StreamKeyPB; videoStreamKey: StreamKeyPB; }[]) ⇒ void | (Optional) Called when the connection status has changed (e.g. when the RTMP connection drops) | |
| ( connectionId: string, app: string, url: string, streamId: number, publishingName: string) ⇒ OnStreamResult | (Optional) On stream callback, set up the stream keys for a given stream or reject the stream | 
Properties
| Property | Type | Description | 
|---|---|---|
| ( connectionId: string, bytesRead: bigint) ⇒ void | (Optional) | |
| ( connectionId: string, error: RtmpError_UnsupportedVideo | RtmpError_UnsupportedAudio | RtmpError_InvalidStreamResponse) ⇒ void | (Optional) | |
| number | (Optional) The port the RTMP server should listen on | |
| boolean | (Optional) | |
| { certFile?: string; keyFile?: string; } | (Optional) |