rtmp v0.1.3 Rtmp.Behaviours.SessionHandler behaviour
Behaviour for modules that can act as session handlers
Summary
Types
Callbacks
handle_rtmp_input(session_handler_pid, arg1)
handle_rtmp_input(session_handler_pid, Rtmp.Protocol.DetailedMessage.t) :: :ok
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
send_rtmp_message(session_handler_pid, arg1, stream_id, forced_timestamp)
send_rtmp_message(session_handler_pid, Rtmp.deserialized_message, stream_id, forced_timestamp) :: :ok