Membrane.RTP.PayloaderBin (Membrane RTP plugin v0.8.2) View Source
Module responsible for payloading a stream to RTP format and preparing RTP headers.
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
:input
| Availability | :always |
| Caps | :any |
| Demand unit | :buffers |
| Direction | :input |
| Mode | :pull |
| Name | :input |
: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
Specs
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
Specs
membrane_pads() :: [{Membrane.Pad.name_t(), Membrane.Pad.description_t()}]
Returns pads descriptions for Membrane.RTP.PayloaderBin
Specs
options() :: keyword()
Returns description of options available for this module