Membrane Core v0.2.2 Membrane.Element.Pad.Data View Source
Struct describing current pad state.
The public fields are:
caps
-Membrane.Caps
on the pad (may benil
if not yet set)start_of_stream?
- flag determining whetherMembrane.Event.StartOfStream
has been received on the padend_of_stream?
- flag determining whetherMembrane.Event.EndOfStream
has been received on the pad
Other fields in the struct ARE NOT PART OF THE PUBLIC API and should not be accessed or relied on.
Link to this section Summary
Link to this section Types
Link to this type
t()
View Source
t()
View Source
t() :: %Membrane.Element.Pad.Data{
accepted_caps: any(),
availability: Membrane.Element.Pad.availability_t(),
buffer: Membrane.Core.PullBuffer.t(),
caps: Membrane.Caps.t() | nil,
current_id: non_neg_integer(),
demand: integer(),
demand_unit: Membrane.Buffer.Metric.unit_t(),
direction: Membrane.Element.Pad.direction_t(),
end_of_stream?: boolean(),
mode: Membrane.Element.Pad.mode_t(),
other_demand_unit: Membrane.Buffer.Metric.unit_t(),
other_ref: Membrane.Element.Pad.ref_t(),
pid: pid(),
start_of_stream?: boolean(),
sticky_messages: [Membrane.Event.t()]
}
t() :: %Membrane.Element.Pad.Data{ accepted_caps: any(), availability: Membrane.Element.Pad.availability_t(), buffer: Membrane.Core.PullBuffer.t(), caps: Membrane.Caps.t() | nil, current_id: non_neg_integer(), demand: integer(), demand_unit: Membrane.Buffer.Metric.unit_t(), direction: Membrane.Element.Pad.direction_t(), end_of_stream?: boolean(), mode: Membrane.Element.Pad.mode_t(), other_demand_unit: Membrane.Buffer.Metric.unit_t(), other_ref: Membrane.Element.Pad.ref_t(), pid: pid(), start_of_stream?: boolean(), sticky_messages: [Membrane.Event.t()] }