rtmp v0.2.0 Rtmp.Protocol.RawMessage behaviour
Module that represents a raw RTMP message, and functions to unpack and repack them for handling and serialization
Summary
Functions
Packs a detailed RTMP message into a serializable raw message
Unpacks the specified RTMP message into it’s proper structure
Types
Functions
Packs a detailed RTMP message into a serializable raw message
unpack(raw_message)
unpack(Rtmp.Protocol.RawMessage.t) :: {:error, :unknown_message_type} | {:ok, Rtmp.Protocol.DetailedMessage.t}
Unpacks the specified RTMP message into it’s proper structure