Membrane.HLS.SegmentContentBuilder protocol (Membrane HLS Plugin v1.1.2)

View Source

Summary

Types

t()

All the types that implement this protocol.

Types

t()

@type t() :: term()

All the types that implement this protocol.

Functions

accept_buffer(impl, buffer)

@spec accept_buffer(t(), Membrane.Buffer.t()) :: t()

drop_buffers_in_segment(impl, segment, disable_pending)

@spec drop_buffers_in_segment(t(), HLS.Segment.t(), boolean()) ::
  {t(), [Membrane.Buffer.t()]}

drop_late_buffers(impl, segment)

@spec drop_late_buffers(t(), HLS.Segment.t()) :: {t(), [Membrane.Buffer.t()]}

format_segment(impl, buffers)

@spec format_segment(t(), [Membrane.Buffer.t()]) :: binary()

is_empty?(impl)

@spec is_empty?(t()) :: boolean()

segment_extension(impl)

@spec segment_extension(t()) :: binary()