View Source Membrane.RTP.PayloaderBin (Membrane RTP plugin v0.14.0)
Module responsible for payloading a stream to RTP format and preparing RTP headers.
bin-options
Bin options
Passed via struct Membrane.RTP.PayloaderBin.t/0
payloadermodule()Required
Payloader module used for payloading a stream to RTP formatssrcRTP.ssrc_t()Required
payload_typeRTP.payload_type_t()Required
clock_rateRTP.clock_rate_t()Required
alignmentpos_integer()Default value:
1
Number of bytes that each packet should be aligned to. Alignment is achieved by adding RTP padding.
pads
Pads
input
:input
| Availability | :always |
| Caps | :any |
| Demand unit | :buffers |
| Direction | :input |
| Mode | :pull |
| Name | :input |
output
:output
| Availability | :always |
| Caps | :any |
| Demand unit | :buffers |
| Direction | :output |
| Mode | :pull |
| Name | :output |
Link to this section Summary
Types
Struct containing options for Membrane.RTP.PayloaderBin
Functions
Returns pads descriptions for Membrane.RTP.PayloaderBin
Returns description of options available for this module
Link to this section Types
@type t() :: %Membrane.RTP.PayloaderBin{ alignment: pos_integer(), clock_rate: RTP.clock_rate_t(), payload_type: RTP.payload_type_t(), payloader: module(), ssrc: RTP.ssrc_t() }
Struct containing options for Membrane.RTP.PayloaderBin
Link to this section Functions
@spec membrane_pads() :: [{Membrane.Pad.name_t(), Membrane.Pad.description_t()}]
Returns pads descriptions for Membrane.RTP.PayloaderBin
@spec options() :: keyword()
Returns description of options available for this module