Packages
membrane_hls_plugin
2.0.13
3.0.10
3.0.9
3.0.8
3.0.7
3.0.6
3.0.5
3.0.4
3.0.3
3.0.2
3.0.1
3.0.0
2.1.9
2.1.8
2.1.7
2.1.6
2.1.5
2.1.4
2.1.3
2.1.2
2.1.1
2.1.0
2.0.16
2.0.15
2.0.14
2.0.13
2.0.12
2.0.11
2.0.10
2.0.9
2.0.8
2.0.7
2.0.6
2.0.5
2.0.4
2.0.3
2.0.2
2.0.1
2.0.0
1.1.12
1.1.11
1.1.10
1.1.9
1.1.8
1.1.7
1.1.6
1.1.5
1.1.4
1.1.3
1.1.2
1.1.1
1.1.0
1.0.0
Adaptive live streaming (HLS) plugin for the Membrane Framework.
Current section
Files
Jump to
Current section
Files
lib/membrane/hls/segment_content_builder.ex
defprotocol Membrane.HLS.SegmentContentBuilder do
alias Membrane.Buffer
alias HLS.Segment
@spec format_segment(t(), [Buffer.t()]) :: binary()
def format_segment(impl, buffers)
@spec segment_extension(t()) :: binary()
def segment_extension(impl)
@spec accept_buffer(t(), Buffer.t()) :: t()
def accept_buffer(impl, buffer)
@spec drop_late_buffers(t(), Segment.t()) :: {t(), [Buffer.t()]}
def drop_late_buffers(impl, segment)
@spec drop_buffers_in_segment(t(), Segment.t(), boolean()) :: {t(), [Buffer.t()]}
def drop_buffers_in_segment(impl, segment, disable_pending)
@spec is_empty?(t()) :: boolean()
def is_empty?(impl)
end