abstract datatype: decoder()
decode/2 | Decode RTMP Message. |
decode_all/2 | Decode RTMP Messages. |
new/0 | Return new decoder instance. |
decode(Decoder::decoder(), X2::binary()) -> {ok, decoder(), rtmpmsg:message(), RestBin::binary()} | {partial, decoder()}
Decode RTMP Message
If decoded message is #rtmpmsg_set_chunk_size{} or #rtmpmsg_abort{}, it will be automatically handled in this function.decode_all(Decoder::decoder(), X2::binary()) -> {decoder(), [rtmpmsg:message()]}
Decode RTMP Messages
new() -> decoder()
Return new decoder instance
Generated by EDoc, Mar 11 2018, 19:50:31.