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>, StreamStatisticsMixin
Events
Property | Type | Description |
---|---|---|
( app: string, url: string) ⇒ { accept: true; } | { accept: false; reason?: string; } |
(Optional) On connect callback, use to accept/reject connections given app/url in use |
|
( status: RtmpServerInputStatus, streamKeys: { audioStreamKey: StreamKeyPB; videoStreamKey: StreamKeyPB; }[]) ⇒ void |
(Optional) Called when the connection status has changed (e.g. when the RTMP connection drops) |
|
( 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 |