View Source Membrane.RTP.H265.NAL.Header (Membrane RTP H265 Plugin v0.4.0)
Defines a structure representing Network Abstraction Layer Unit Header
Defined in RFC 7798
+---------------+---------------+
|0|1|2|3|4|5|6|7|0|1|2|3|4|5|6|7|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|F| Type | LayerId | TID |
+-------------+-----------------+
Link to this section Summary
Types
Required to be 0 in first version of HEVC, may be used in future extensions.
Specifies the temporal sub-layer identifier of the NAL unit plus 1.
Specifies the type of RBSP data structure contained in the NAL unit.
Link to this section Types
Specs
nuh_layer_id() :: 0
Required to be 0 in first version of HEVC, may be used in future extensions.
Specs
nuh_temporal_id_plus1() :: 1..7
Specifies the temporal sub-layer identifier of the NAL unit plus 1.
Specs
supported_types() :: :ap | :fu | :single_nalu
Specs
t() :: %Membrane.RTP.H265.NAL.Header{ nuh_layer_id: nuh_layer_id(), nuh_temporal_id_plus1: nuh_temporal_id_plus1(), type: type() }
Specs
type() :: 0..63
Specifies the type of RBSP data structure contained in the NAL unit.
Specs
types() :: supported_types() | unsupported_types() | :reserved
Specs
unsupported_types() :: :paci
Link to this section Functions
Specs
add_header(binary(), 0 | 1, type(), nuh_layer_id(), nuh_temporal_id_plus1()) :: binary()
Adds NAL header to payload
Specs
Parses type stored in NAL Header
Specs
Encodes given NAL type