MediaX v1.0.0rc7 [7e6cb74]
Video streaming for military vehicles
Loading...
Searching...
No Matches
QtRtpNvidiaH264Payloader.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//
14
15#ifndef QT6_QTRTPNVIDIAH264PAYLOADER_H_
16#define QT6_QTRTPNVIDIAH264PAYLOADER_H_
17
18#include <QByteArray>
19#include <QObject>
20
22#include "qt6/QtRtpPayloader.h"
23
24namespace mediax::qt6 {
25
28 Q_OBJECT
29
30 public:
36 explicit QtRtpNvidiaH264Payloader(QObject *parent = nullptr);
37
43
49 Q_INVOKABLE void setStreamInfo(const mediax::rtp::StreamInformation &stream_information) final;
50
55 Q_INVOKABLE bool open() final;
56
61 Q_INVOKABLE void start() final;
62
67 Q_INVOKABLE void stop() final;
68
73 Q_INVOKABLE void close() final;
74
81 Q_INVOKABLE int transmit(Frame *frame, bool blocking = true) final;
82
83 public slots:
84
90 void sendFrame(Frame frame) final;
91
92 private:
94 ::mediax::rtp::h264::gst::nvidia::RtpH264GstNvidiaPayloader payloader_;
95};
96
97} // namespace mediax::qt6
98
99#endif // QT6_QTRTPNVIDIAH264PAYLOADER_H_
RTP streaming video class for uncompressed DEF-STAN 00-82 video streams.
The H.264 Qt Payloader wrapper.
Definition QtRtpNvidiaH264Payloader.h:27
Q_INVOKABLE void stop() final
Stop the RTP stream.
Definition QtRtpNvidiaH264Payloader.cc:32
Q_INVOKABLE bool open() final
Open the RTP stream.
Definition QtRtpNvidiaH264Payloader.cc:28
::mediax::rtp::h264::gst::nvidia::RtpH264GstNvidiaPayloader payloader_
The GStreamer payloader.
Definition QtRtpNvidiaH264Payloader.h:94
Q_INVOKABLE void setStreamInfo(const mediax::rtp::StreamInformation &stream_information) final
Set the Stream Info object.
Definition QtRtpNvidiaH264Payloader.cc:24
~QtRtpNvidiaH264Payloader() final
Destroy the Qt Rtp H 2 6 4 Payloader object.
Q_INVOKABLE void close() final
Close the RTP stream.
Definition QtRtpNvidiaH264Payloader.cc:34
Q_INVOKABLE int transmit(Frame *frame, bool blocking=true) final
Transmit a frame to the RTP stream.
Definition QtRtpNvidiaH264Payloader.cc:36
void sendFrame(Frame frame) final
A frame to transmit.
Definition QtRtpNvidiaH264Payloader.cc:40
Q_INVOKABLE void start() final
Start the RTP stream.
Definition QtRtpNvidiaH264Payloader.cc:30
A RTP payloader base class.
Definition QtRtpPayloader.h:27
The Qt wrappers namespace.
Definition QtRtpAv1Depayloader.cc:19
The Astute Systems (MediaX) library for video streaming.
Definition rtp_av1_depayloader.cc:34
RTP streaming video class for H.264 DEF-STAN 00-82 video streams.
A structure to store frames of video.
Definition QtCommon.h:21