Membrane Element: H264 v0.1.0 Membrane.Element.RTP.H264.FU.Header View Source
Defines a structure representing Fragmentation Unit (FU) header which is defined in RFC6184
+---------------+
|0|1|2|3|4|5|6|7|
+-+-+-+-+-+-+-+-+
|S|E|R| Type |
+---------------+
Link to this section Summary
Types
MUST be set to true only in the last packet in a sequence.
MUST be set to true only in the first packet in a sequence.
Functions
Parses Fragmentation Unit Header
Link to this section Types
Link to this type
end_flag()
View Source
end_flag()
View Source
end_flag() :: boolean()
end_flag() :: boolean()
MUST be set to true only in the last packet in a sequence.
Link to this type
start_flag()
View Source
start_flag()
View Source
start_flag() :: boolean()
start_flag() :: boolean()
MUST be set to true only in the first packet in a sequence.
Link to this type
t()
View Source
t()
View Source
t() :: %Membrane.Element.RTP.H264.FU.Header{
end_bit: end_flag(),
start_bit: start_flag(),
type: Membrane.Element.RTP.H264.NAL.Header.type()
}
t() :: %Membrane.Element.RTP.H264.FU.Header{ end_bit: end_flag(), start_bit: start_flag(), type: Membrane.Element.RTP.H264.NAL.Header.type() }
Link to this section Functions
Link to this function
parse(arg1) View Source
Parses Fragmentation Unit Header
It will fail if the Start bit and End bit are both set to one in the same Fragmentation Unit Header, because a fragmented NAL unit MUST NOT be transmitted in one FU.