View Source Membrane.Bin.PadData (Membrane Core v1.2.0)
Struct describing current pad state.
The public fields are:
:availability- seeMembrane.Pad.availability/0:direction- seeMembrane.Pad.direction/0:name- seeMembrane.Pad.name/0. Do not mistake with:ref:options- options passed inMembrane.ChildrenSpecwhen linking pad:ref- seeMembrane.Pad.ref/0max_instances- specifies maximal possible number of instances of a dynamic pad that can exist within single element. Equalsnilfor pads withavailability: :always.
Other fields in the struct ARE NOT PART OF THE PUBLIC API and should not be accessed or relied on.
Summary
Types
@type private_field() :: term()
@type t() :: %Membrane.Bin.PadData{ availability: Membrane.Pad.availability(), direction: Membrane.Pad.direction(), endpoint: private_field(), link_id: private_field(), linked?: private_field(), linked_in_spec?: private_field(), linking_timeout_id: private_field(), max_instances: Membrane.Pad.max_instances() | nil, name: Membrane.Pad.name(), options: Membrane.ChildrenSpec.pad_options(), ref: Membrane.Pad.ref(), response_received?: private_field(), spec_ref: private_field() }
Struct describing current pad state.
The public fields are:
:availability- seeMembrane.Pad.availability/0:direction- seeMembrane.Pad.direction/0:name- seeMembrane.Pad.name/0. Do not mistake with:ref:options- options passed inMembrane.ChildrenSpecwhen linking pad:ref- seeMembrane.Pad.ref/0max_instances- specifies maximal possible number of instances of a dynamic pad that can exist within single element. Equalsnilfor pads withavailability: :always.
Other fields in the struct ARE NOT PART OF THE PUBLIC API and should not be accessed or relied on.