H264Depacketize Class
Depayloads RTP-encapsulated H.264 into a raw H.264 byte stream. More...
Declaration
Included Headers
Base classes
| class | Node |
| class | OutputSpecProvider |
Public Constructors Index
| H264Depacketize (int payload_type=96, int h264_parse_config_interval=-1, int h264_fps=-1, int h264_width=-1, int h264_height=-1, bool enforce_h264_caps=true) | |
|
Construct with RTP payload type plus optional H.264 parser / caps overrides. More... | |
Public Member Functions Index
| std::string | kind () const override |
|
Type label for this Node kind. More... | |
| NodeCapsBehavior | caps_behavior () const override |
|
Whether the Node negotiates static or dynamic caps. More... | |
| std::string | backend_fragment (int node_index) const override |
|
GStreamer fragment this Node emits. More... | |
| std::vector< std::string > | element_names (int node_index) const override |
|
Deterministic element names this Node will create. More... | |
| OutputSpec | output_spec (const OutputSpec &input) const override |
|
Negotiated downstream caps produced by this Node. More... | |
| int | payload_type () const |
|
RTP payload type filter; values <= 0 disable filtering. More... | |
| int | h264_parse_config_interval () const |
|
h264parse config-interval passthrough; -1 leaves the element default. More... | |
| int | h264_fps () const |
|
Framerate enforced on depayloaded caps, in fps; -1 = unspecified. More... | |
| int | h264_width () const |
|
Width enforced on depayloaded caps, in pixels; -1 = unspecified. More... | |
| int | h264_height () const |
|
Height enforced on depayloaded caps, in pixels; -1 = unspecified. More... | |
| bool | enforce_h264_caps () const |
|
True if caps enforcement is enabled when geometry/fps overrides are set. More... | |
Private Member Attributes Index
| int | payload_type_ = 96 |
| int | h264_parse_config_interval_ = -1 |
| int | h264_fps_ = -1 |
| int | h264_width_ = -1 |
| int | h264_height_ = -1 |
| bool | enforce_h264_caps_ = true |
Description
Depayloads RTP-encapsulated H.264 into a raw H.264 byte stream.
Place between an RTP source and a decoder. When enforce_h264_caps is true, the Node enforces h264_fps, h264_width, and h264_height only when all three are provided. If none are provided, caps negotiate dynamically. Partial explicit caps are rejected because they create ambiguous H.264 boundaries.
Definition at line 28 of file H264Depacketize.h.
Public Constructors
H264Depacketize()
| explicit |
Construct with RTP payload type plus optional H.264 parser / caps overrides.
payload_type <= 0 disables RTP payload filtering in caps.
Definition at line 32 of file H264Depacketize.h.
Public Member Functions
backend_fragment()
|
GStreamer fragment this Node emits.
Definition at line 47 of file H264Depacketize.h.
caps_behavior()
| inline |
Whether the Node negotiates static or dynamic caps.
Definition at line 40 of file H264Depacketize.h.
element_names()
|
Deterministic element names this Node will create.
Definition at line 49 of file H264Depacketize.h.
enforce_h264_caps()
| inline |
True if caps enforcement is enabled when geometry/fps overrides are set.
Definition at line 74 of file H264Depacketize.h.