rtmp v0.2.0 Rtmp.Behaviours.SessionHandler behaviour

Behaviour for modules that can act as session handlers

Summary

Types

forced_timestamp()
forced_timestamp() :: non_neg_integer | nil
io_count_direction()
io_count_direction() :: :bytes_received | :bytes_sent
session_handler_pid()
session_handler_pid() :: pid
stream_id()
stream_id() :: non_neg_integer

Callbacks

handle_rtmp_input(session_handler_pid, arg1)
notify_byte_count(session_handler_pid, io_count_direction, non_neg_integer)
notify_byte_count(session_handler_pid, io_count_direction, non_neg_integer) :: :ok