RtmpServerInputEvent

Messages that Norsk can send to your code in response to various RTMP events.

Field

Type

Repeated

Description

message

oneOf

⮑node_id

MediaNodeId

⮑on_connection

RtmpConnection

⮑on_stream

RtmpOnStream

⮑outbound_context

Context

⮑status

RtmpServerInputStatus

⮑stream_statistics

MultiStreamStatistics

⮑error

RtmpError

⮑bytes_read

RtmpBytesRead

⮑gop_structure

GopStructure

Argument of

Method

Description

CreateInputRtmpServer

Creates an RTMP ingest Media Node. On creation, the Media Node is idle and your code must send an RtmpServerInputConfiguration message to configure the RTMP server. When a remote client connects, an RtmpConnection message is sent, which the code can choose to accept – by sending an RtmpConnectionAccept message or reject – by sending an RtmpConnectionReject message. Once a connection is established, Norsk will continue to send appropriate RtmpServerInputEvent messages as events occur.