MediaX v1.0.0rc7 [7e6cb74]
Video streaming for military vehicles
Loading...
Searching...
No Matches
rtp_h264_payloader.h
Go to the documentation of this file.
1//
2// Copyright (c) 2025, Astute Systems PTY LTD
3//
4// This file is part of the VivoeX project developed by Astute Systems.
5//
6// Licensed under the Attribution-NonCommercial 4.0 International (CC BY-NC 4.0)
7// License. See the LICENSE file in the project root for full license details.
8//
13
14#ifndef H264_GST_NVIDIA_RTP_H264_PAYLOADER_H_
15#define H264_GST_NVIDIA_RTP_H264_PAYLOADER_H_
16
17#include <gst/gst.h>
18
19#include "rtp/rtp_payloader.h"
20
22
25 public:
31
37
44
52
58 void SetStreamInfo(const ::mediax::rtp::StreamInformation &stream_information) override;
59
66 bool Open() final;
67
72 void Close() final;
73
81 int Transmit(uint8_t *rgbframe, bool blocking = true) final;
82
87 void Start() final;
88
93 void Stop() final;
94
95 private:
97 GstElement *pipeline_;
99 bool started_ = false;
100};
101
102} // namespace mediax::rtp::h264::gst::nvidia
103
104#endif // H264_GST_NVIDIA_RTP_H264_PAYLOADER_H_
Manage an RTP stream.
Definition rtp_payloader.h:30
A RTP payloader for H.264 DEF-STAN 00-82 video streams.
Definition rtp_h264_payloader.h:24
~RtpH264GstNvidiaPayloader() final
Destroy the Rtp H.264 Payloader object.
RtpH264GstNvidiaPayloader()
Construct a new Rtp H.264 Payloader object.
void Start() final
Stop the stream, can be quickly re-started.
Definition rtp_h264_payloader.cc:135
void SetStreamInfo(const ::mediax::rtp::StreamInformation &stream_information) override
Set the Stream Info object.
Definition rtp_h264_payloader.cc:35
GstElement * pipeline_
The Gstreamer pipeline.
Definition rtp_h264_payloader.h:97
int Transmit(uint8_t *rgbframe, bool blocking=true) final
Definition rtp_h264_payloader.cc:141
bool Open() final
Open the RTP stream.
Definition rtp_h264_payloader.cc:46
void Close() final
Close the RTP stream.
Definition rtp_h264_payloader.cc:128
bool started_
Pipeline started when true.
Definition rtp_h264_payloader.h:99
void Stop() final
Stop the stream.
Definition rtp_h264_payloader.cc:176
The Gstreamer implementation of the Intel Video Accelleration API (VAAPI) namespace.
Definition rtp_h264_depayloader.cc:36
The Astute Systems (MediaX) library for video streaming.
Definition rtp_av1_depayloader.cc:34
RTP streaming video class for uncompressed DEF-STAN 00-82 video streams.
Struct capturing all stream information.
Definition rtp_types.h:223