View Source Membrane.RTC.Engine.Endpoint.HLS.CustomLayoutMaker behaviour (Membrane RTC Engine v0.14.0)
Module representing function for updating video layout for the HLS stream.
Link to this section Summary
Link to this section Types
@type output_stream_format() :: resolution()
@type padding() :: non_neg_integer()
@type position() :: {pos_integer(), pos_integer()}
@type resolution() :: %{width: pos_integer(), height: pos_integer()}
@type track_no() :: non_neg_integer()
Link to this section Callbacks
@callback track_stream_format(output_stream_format(), track_no(), padding()) :: resolution()
@callback track_stream_position(output_stream_format(), track_no(), padding()) :: position()