View Source Membrane.RTMP.MessageValidator protocol (Membrane RTMP plugin v0.12.1)
Protocol for implementing RTMP Message validators. Allows for verifying some of the RTMP messages.
Link to this section Summary
Functions
Validates the Membrane.RTMP.Messages.Publish.t/0
message.
Validates the Membrane.RTMP.Messages.ReleaseStream.t/0
message.
Validates the Membrane.RTMP.Messages.SetDataFrame.t/0
message.
Link to this section Types
@type t() :: term()
Link to this section Functions
@spec validate_publish(t(), Membrane.RTMP.Messages.Publish.t()) :: validation_result_t()
Validates the Membrane.RTMP.Messages.Publish.t/0
message.
@spec validate_release_stream(t(), Membrane.RTMP.Messages.ReleaseStream.t()) :: validation_result_t()
Validates the Membrane.RTMP.Messages.ReleaseStream.t/0
message.
@spec validate_set_data_frame(t(), Membrane.RTMP.Messages.SetDataFrame.t()) :: validation_result_t()
Validates the Membrane.RTMP.Messages.SetDataFrame.t/0
message.