rtmp v0.1.1 Rtmp.Protocol.ChunkIo
This module provides an API for performing the conversion between raw binary and RTMP messages based on the RTMP chunk specifications.
Summary
Functions
Deserializes the specified binary into raw RTMP messages
Starts a new RTMP chunk I/O processor
Serializes the specified raw RTMP message into iodata
Changes the maximum size for incoming RTMP chunks
Changes the maximum size for outgoing RTMP chunks
Types
Functions
deserialize(state, binary)
deserialize(state, binary) :: {state, :incomplete} | {state, :split_message} | {state, Rtmp.Protocol.RawMessage.t}
Deserializes the specified binary into raw RTMP messages
Starts a new RTMP chunk I/O processor
serialize(state, raw_message, csid)
serialize(state, Rtmp.Protocol.RawMessage.t, non_neg_integer) :: {state, iodata}
Serializes the specified raw RTMP message into iodata
Changes the maximum size for incoming RTMP chunks