H264CapsFixup Class
Helper Node that fills in missing H.264 RTP caps fields with fallbacks. More...
Declaration
Included Headers
Base class
| class | Node |
Public Constructors Index
| H264CapsFixup (int fallback_fps, int fallback_width, int fallback_height) | |
|
Construct with fallback framerate and frame geometry to inject when missing. 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... | |
| int | fallback_fps () const |
|
Fallback framerate, in frames per second. More... | |
| int | fallback_width () const |
|
Fallback frame width, in pixels. More... | |
| int | fallback_height () const |
|
Fallback frame height, in pixels. More... | |
Private Member Attributes Index
| int | fallback_fps_ = 30 |
| int | fallback_width_ = 1280 |
| int | fallback_height_ = 720 |
Description
Helper Node that fills in missing H.264 RTP caps fields with fallbacks.
Place between an RTP source and H264Depacketize when the source emits caps that lack framerate or geometry. The fallback values are only applied to fields the upstream caps don't already specify.
Definition at line 30 of file H264CapsFixup.h.
Public Constructors
H264CapsFixup()
|
Construct with fallback framerate and frame geometry to inject when missing.
Definition at line 33 of file H264CapsFixup.h.
Public Member Functions
backend_fragment()
|
GStreamer fragment this Node emits.
Definition at line 44 of file H264CapsFixup.h.
caps_behavior()
| inline |
Whether the Node negotiates static or dynamic caps.
Definition at line 40 of file H264CapsFixup.h.
element_names()
|
Deterministic element names this Node will create.
Definition at line 46 of file H264CapsFixup.h.
fallback_fps()
| inline |
Fallback framerate, in frames per second.
Definition at line 49 of file H264CapsFixup.h.
fallback_height()
| inline |
Fallback frame height, in pixels.
Definition at line 57 of file H264CapsFixup.h.
fallback_width()
| inline |
Fallback frame width, in pixels.
Definition at line 53 of file H264CapsFixup.h.
kind()
| inline |
Type label for this Node kind.
Definition at line 36 of file H264CapsFixup.h.
Private Member Attributes
fallback_fps_
|
Definition at line 62 of file H264CapsFixup.h.
fallback_height_
|
Definition at line 64 of file H264CapsFixup.h.
fallback_width_
|
Definition at line 63 of file H264CapsFixup.h.
The documentation for this class was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.