View Source Membrane.RTP.H265.Payloader (Membrane RTP H265 Plugin v0.5.2)
Payloads H265 NAL units into RTP packets.
Based on RFC 7798.
Element options
Passed via struct Membrane.RTP.H265.Payloader.t/0
max_payload_size
non_neg_integer()
Default value:
1400
Maximal size of outputted payloads in bytes. Doesn't work in thesingle_nalu
mode. The resulting RTP packet will also contain RTP header (12B) and potentially RTP extensions. For most applications, everything should fit in standard MTU size (1500B) after adding L3 and L2 protocols' overhead.mode
:single_nalu | :non_interleaved
Default value:
:non_interleaved
In:single_nalu
mode, payloader puts exactly one NAL unit into each payload, altering only RTP metadata.:non_interleaved
mode handles also FU and AP packetization. See RFC 7798 for details.
Pads
:input
Accepted formats:
%H265{alignment: :nalu, stream_structure: :annexb}
Direction: | :input |
Availability: | :always |
Flow control: | :auto |
:output
Accepted formats:
RTP
Direction: | :output |
Availability: | :always |
Flow control: | :auto |
Summary
Types
Struct containing options for Membrane.RTP.H265.Payloader
Types
@type t() :: %Membrane.RTP.H265.Payloader{ max_payload_size: non_neg_integer(), mode: :single_nalu | :non_interleaved }
Struct containing options for Membrane.RTP.H265.Payloader
Functions
@spec options() :: keyword()
Returns description of options available for this module