MediaX v1.0.0rc7 [7e6cb74]
Video streaming for military vehicles
Loading...
Searching...
No Matches
QtRtpJpegVaapiPayloader.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_QTRTPJPEGVAAPIPAYLOADER_H_
16#define QT6_QTRTPJPEGVAAPIPAYLOADER_H_
17
18#include <QByteArray>
19#include <QObject>
20
22#include "qt6/QtCommon.h"
23#include "qt6/QtRtpPayloader.h"
24
25namespace mediax::qt6 {
26
29 Q_OBJECT
30
31 public:
37 explicit QtRtpJpegVaapiPayloader(QObject *parent = nullptr);
38
44
50 Q_INVOKABLE void setStreamInfo(const mediax::rtp::StreamInformation &stream_information) final;
51
56 Q_INVOKABLE bool open() final;
57
62 Q_INVOKABLE void start() final;
63
68 Q_INVOKABLE void stop() final;
69
74 Q_INVOKABLE void close() final;
75
82 Q_INVOKABLE int transmit(Frame *frame, bool blocking = true) final;
83
84 public slots:
85
91 void sendFrame(Frame frame) final;
92
93 private:
95 ::mediax::rtp::jpeg::gst::vaapi::RtpJpegGstVaapiPayloader payloader_;
96};
97
98} // namespace mediax::qt6
99
100#endif // QT6_QTRTPJPEGVAAPIPAYLOADER_H_
RTP streaming video class for uncompressed DEF-STAN 00-82 video streams.
The H.265 Qt Payloaader wrapper.
Definition QtRtpJpegVaapiPayloader.h:28
Q_INVOKABLE void setStreamInfo(const mediax::rtp::StreamInformation &stream_information) final
Set the Stream Info object.
Definition QtRtpJpegVaapiPayloader.cc:24
Q_INVOKABLE void stop() final
Stop the RTP stream.
Definition QtRtpJpegVaapiPayloader.cc:32
Q_INVOKABLE int transmit(Frame *frame, bool blocking=true) final
Transmit a frame to the RTP stream.
Definition QtRtpJpegVaapiPayloader.cc:36
Q_INVOKABLE void start() final
Start the RTP stream.
Definition QtRtpJpegVaapiPayloader.cc:30
Q_INVOKABLE void close() final
Close the RTP stream.
Definition QtRtpJpegVaapiPayloader.cc:34
::mediax::rtp::jpeg::gst::vaapi::RtpJpegGstVaapiPayloader payloader_
The GStreamer payloader.
Definition QtRtpJpegVaapiPayloader.h:95
~QtRtpJpegVaapiPayloader() final
Destroy the Qt Rtp H 2 6 4 Payloader object.
void sendFrame(Frame frame) final
A frame to transmit.
Definition QtRtpJpegVaapiPayloader.cc:40
Q_INVOKABLE bool open() final
Open the RTP stream.
Definition QtRtpJpegVaapiPayloader.cc:28
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
A structure to store frames of video.
Definition QtCommon.h:21