API Reference rtmp v#0.1.0

Copy Markdown View Source

Modules

A small, correct, hard-to-crash RTMP ingest server.

AMF0 encoding and decoding.

The RTMP chunk stream layer: splits a byte stream into chunks and reassembles them into messages (parse/2), and does the reverse for outgoing messages (encode/6).

A fully reassembled RTMP message.

RTMP command messages (connect, createStream, publish, ...) and data messages (@setDataFrame / onMetaData).

A decoded command message.

One process per RTMP connection (a ThousandIsland.Handler). Started by RTMP.Listener; you don't use this module directly.

Protocol control messages (message types 1–6) and User Control events.

Parses the body of an RTMP audio message (an FLV audio tag body).

Extracts onMetaData from RTMP data messages.

Parses the body of an RTMP video message (an FLV video tag body).

One audio or video frame, as delivered to RTMP.Handler.handle_frame/2.

The behaviour you implement to receive RTMP publishes.

The simple (non-digest) RTMP handshake, server side.

Per-connection hard limits.

Starts an RTMP server.

Telemetry events emitted by the server.