View Source Membrane.RTC.Engine.Endpoint.HLS.HLSConfig (Membrane RTC Engine v0.11.0)

Module representing Membrane.HTTPAdaptiveStream.SinkBin configuration for the HLS endpoint.

Link to this section Summary

Types

t()

To read more about config options go to module Membrane.HTTPAdaptiveStream.SinkBin and read options descriptions.

Link to this section Types

@type t() :: %Membrane.RTC.Engine.Endpoint.HLS.HLSConfig{
  header_naming_fun:
    (Membrane.HTTPAdaptiveStream.Manifest.Track.t(),
     counter :: non_neg_integer() ->
       String.t()),
  hls_mode: :muxed_av | :separate_av,
  manifest_module: Membrane.HTTPAdaptiveStream.Manifest.t(),
  manifest_name: String.t(),
  mode: :live | :vod,
  partial_segment_duration:
    Membrane.HTTPAdaptiveStream.Sink.SegmentDuration.t() | nil,
  persist?: boolean(),
  segment_duration: Membrane.HTTPAdaptiveStream.Sink.SegmentDuration.t(),
  segment_naming_fun:
    (Membrane.HTTPAdaptiveStream.Manifest.Track.t() -> String.t()),
  storage: (Path.t() -> Membrane.HTTPAdaptiveStream.Storage.config_t()),
  target_window_duration: pos_integer() | :infinity
}

To read more about config options go to module Membrane.HTTPAdaptiveStream.SinkBin and read options descriptions.

  • segment_duration - The segment duration range of the regular segments.
  • partial_segment_duration - The segment duration range of the partial segments. If not set then the bin won't produce any partial segments.

Link to this section Functions

Link to this function

default_storage(directory)

View Source
@spec default_storage(String.t()) :: any()