Membrane Core v0.1.1 Membrane.Message View Source
Structure representing a single message that is emitted by the element.
Each message:
- must contain type,
- may contain payload.
Type is used to distinguish message class.
Payload can hold additional information about the message.
Payload should always be a named struct appropriate for given message type.