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 and any of h264_fps / h264_width / h264_height is set, the Node enforces those values on the depayloaded caps; otherwise it negotiates dynamically.
Definition at line 27 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 31 of file H264Depacketize.h.
Public Member Functions
backend_fragment()
|
GStreamer fragment this Node emits.
Definition at line 46 of file H264Depacketize.h.
caps_behavior()
| inline |
Whether the Node negotiates static or dynamic caps.
Definition at line 39 of file H264Depacketize.h.
element_names()
|
Deterministic element names this Node will create.
Definition at line 48 of file H264Depacketize.h.
enforce_h264_caps()
| inline |
True if caps enforcement is enabled when geometry/fps overrides are set.
Definition at line 73 of file H264Depacketize.h.
h264_fps()
| inline |
Framerate enforced on depayloaded caps, in fps; -1 = unspecified.
Definition at line 61 of file H264Depacketize.h.
h264_height()
| inline |
Height enforced on depayloaded caps, in pixels; -1 = unspecified.
Definition at line 69 of file H264Depacketize.h.
h264_parse_config_interval()
| inline |
h264parse config-interval passthrough; -1 leaves the element default.
Definition at line 57 of file H264Depacketize.h.
h264_width()
| inline |
Width enforced on depayloaded caps, in pixels; -1 = unspecified.
Definition at line 65 of file H264Depacketize.h.
kind()
| inline |
Type label for this Node kind.
Definition at line 35 of file H264Depacketize.h.
output_spec()
|
Negotiated downstream caps produced by this Node.
Definition at line 50 of file H264Depacketize.h.
payload_type()
| inline |
RTP payload type filter; values <= 0 disable filtering.
Definition at line 53 of file H264Depacketize.h.
Private Member Attributes
enforce_h264_caps_
|
Definition at line 83 of file H264Depacketize.h.
h264_fps_
|
Definition at line 80 of file H264Depacketize.h.
h264_height_
|
Definition at line 82 of file H264Depacketize.h.
h264_parse_config_interval_
|
Definition at line 79 of file H264Depacketize.h.
h264_width_
|
Definition at line 81 of file H264Depacketize.h.
payload_type_
|
Definition at line 78 of file H264Depacketize.h.
The documentation for this class was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.