H264Packetize.h File
H264Packetize Node — wraps encoded H.264 into RTP packets for network streaming. More...
Included Headers
#include "builder/Node.h"
#include "builder/OutputSpec.h"
#include <memory>
#include <vector>
Namespaces Index
| namespace | simaai |
| namespace | neat |
| namespace | nodes |
Classes Index
| class | H264Packetize |
|
RTP H.264 payloader Node — wraps encoded H.264 into RTP packets. More... | |
| struct | PayloadType |
|
RTP dynamic payload type (default 96, the conventional value for H.264 over RTP). More... | |
| struct | ConfigInterval |
|
SPS/PPS re-injection interval in seconds (default 1). More... | |
Description
H264Packetize Node — wraps encoded H.264 into RTP packets for network streaming.
Wraps GStreamer's rtph264pay element. Place after H264EncodeSima (or any H.264 encoder) when streaming over RTP/RTSP — it splits NAL units into RTP payloads and periodically re-injects SPS/PPS so late-joining receivers can decode.
File Listing
The file content with the documentation metadata removed is:
18namespace simaai::neat {
25class H264Packetize final : public Node, public OutputSpecProvider {
28 struct PayloadType {
31 constexpr PayloadType(int v = 96) : value(v) {}
35 struct ConfigInterval {
38 constexpr ConfigInterval(int v = 1) : value(v) {}
42 H264Packetize(PayloadType pt = PayloadType{}, ConfigInterval config_interval = ConfigInterval{});
48 NodeCapsBehavior caps_behavior() const override {
53 std::string backend_fragment(int node_index) const override;
55 std::vector<std::string> element_names(int node_index) const override;
57 OutputSpec output_spec(const OutputSpec& input) const override;
64 int config_interval() const {
75namespace simaai::neat::nodes {
79 simaai::neat::H264Packetize::ConfigInterval config_interval = {});
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.