Membrane.HLS.Shifter (Membrane HLS Plugin v2.1.9)
View SourceThis element is responsible for creating a strictly monotonically increasing DTS/PTS stream starting from a particular point in time. Used when putting discontinuities in the playlist is not an option and for now when the output playlist is not a sliding window one.
It starts from a previous duration (e.g. the duration of the track up to now) and goes on.
Element options
Passed via struct Membrane.HLS.Shifter.t/0
durationMembrane.Time.t()Required
The duration of the track we're adding segments to. Timing will restart from this value.
Pads
:input
Accepted formats:
_any| Direction: | :input |
| Availability: | :always |
| Flow control: | :auto |
:output
Accepted formats:
_any| Direction: | :output |
| Availability: | :always |
| Flow control: | :auto |
Summary
Types
Struct containing options for Membrane.HLS.Shifter
Types
@type t() :: %Membrane.HLS.Shifter{duration: Membrane.Time.t()}
Struct containing options for Membrane.HLS.Shifter
Functions
@spec options() :: keyword()
Returns description of options available for this module