MediaX v1.0.0rc7 [7e6cb74]
Video streaming for military vehicles
Loading...
Searching...
No Matches
QtRtpUncompressedPayloader.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_QTRTPUNCOMPRESSEDPAYLOADER_H_
16#define QT6_QTRTPUNCOMPRESSEDPAYLOADER_H_
17
18#include <QObject>
19#include <memory>
20
21#include "qt6/QtCommon.h"
24
25namespace mediax::qt6 {
26
29 Q_OBJECT
30
31 public:
37 explicit QtRtpUncompressedPayloader(QObject* parent = nullptr);
38
44 void setStreamInfo(const mediax::rtp::StreamInformation& stream_information) final;
45
50 Q_INVOKABLE bool open() final;
51
56 Q_INVOKABLE void start() final;
57
62 Q_INVOKABLE void stop() final;
63
68 Q_INVOKABLE void close() final;
69
76 Q_INVOKABLE int transmit(Frame* frame, bool blocking = true) final;
77
78 public slots:
79
85 void sendFrame(Frame frame) final;
86
87 private:
90};
91
92} // namespace mediax::qt6
93
94#endif // QT6_QTRTPUNCOMPRESSEDPAYLOADER_H_
RTP streaming video class for uncompressed DEF-STAN 00-82 video streams.
A RTP payloader base class.
Definition QtRtpPayloader.h:27
A RTP payloader base class for uncompressed video streams.
Definition QtRtpUncompressedPayloader.h:28
Q_INVOKABLE int transmit(Frame *frame, bool blocking=true) final
Transmit a frame to the RTP stream.
Definition QtRtpUncompressedPayloader.cc:32
Q_INVOKABLE void start() final
Start the RTP stream.
Definition QtRtpUncompressedPayloader.cc:26
void setStreamInfo(const mediax::rtp::StreamInformation &stream_information) final
Set the Stream Info object.
Definition QtRtpUncompressedPayloader.cc:20
void sendFrame(Frame frame) final
A frame to transmit.
Definition QtRtpUncompressedPayloader.cc:36
mediax::rtp::uncompressed::RtpUncompressedPayloader m_rtpPayloader
The underlying RTP payloader.
Definition QtRtpUncompressedPayloader.h:89
Q_INVOKABLE void stop() final
Stop the RTP stream.
Definition QtRtpUncompressedPayloader.cc:28
Q_INVOKABLE void close() final
Close the RTP stream.
Definition QtRtpUncompressedPayloader.cc:30
Q_INVOKABLE bool open() final
Open the RTP stream.
Definition QtRtpUncompressedPayloader.cc:24
Manage an RTP stream.
Definition rtp_uncompressed_payloader.h:71
The Qt wrappers namespace.
Definition QtRtpAv1Depayloader.cc:19
RTP streaming video class for uncompressed DEF-STAN 00-82 video streams.
A structure to store frames of video.
Definition QtCommon.h:21
Struct capturing all stream information.
Definition rtp_types.h:223