MediaX v1.0.0rc7 [7e6cb74]
Video streaming for military vehicles
Loading...
Searching...
No Matches
QtRtpUncompressedDepayloader.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_QTRTPUNCOMPRESSEDDEPAYLOADER_H_
16#define QT6_QTRTPUNCOMPRESSEDDEPAYLOADER_H_
17
18#include <QObject>
19#include <memory>
20
23
24namespace mediax::qt6 {
25
28 Q_OBJECT
29
30 public:
36 explicit QtRtpUncompressedDepayloader(QObject* parent = nullptr);
37
43 Q_INVOKABLE void setStreamInfo(const mediax::rtp::StreamInformation& stream_information) final;
44
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
77 Q_INVOKABLE bool receive(QByteArray* frame, int timeout = 0) final;
78
84 Q_INVOKABLE QVector<quint8> getBuffer() final;
85
91 Q_INVOKABLE mediax::rtp::StreamState getState() const final;
92
93 private:
96};
97
98} // namespace mediax::qt6
99
100#endif // QT6_QTRTPUNCOMPRESSEDDEPAYLOADER_H_
RTP streaming video class for uncompressed DEF-STAN 00-82 video streams.
A RTP depayloader base class.
Definition QtRtpDepayloader.h:27
A RTP depayloader base class for uncompressed video streams.
Definition QtRtpUncompressedDepayloader.h:27
Q_INVOKABLE void start() final
Start the RTP stream.
Definition QtRtpUncompressedDepayloader.cc:45
mediax::rtp::uncompressed::RtpUncompressedDepayloader m_depayloader
The underlying RTP depayloader.
Definition QtRtpUncompressedDepayloader.h:95
Q_INVOKABLE void setStreamInfo(const mediax::rtp::StreamInformation &stream_information) final
Set the Stream Info object.
Definition QtRtpUncompressedDepayloader.cc:25
Q_INVOKABLE mediax::rtp::StreamState getState() const final
Get the State object.
Definition QtRtpUncompressedDepayloader.cc:60
Q_INVOKABLE void close() final
Close the RTP stream.
Definition QtRtpUncompressedDepayloader.cc:49
Q_INVOKABLE void stop() final
Stop the RTP stream.
Definition QtRtpUncompressedDepayloader.cc:47
Q_INVOKABLE QVector< quint8 > getBuffer() final
Get the Buffer object.
Definition QtRtpUncompressedDepayloader.cc:62
Q_INVOKABLE bool open() final
Open the RTP stream.
Definition QtRtpUncompressedDepayloader.cc:43
Q_INVOKABLE bool receive(QByteArray *frame, int timeout=0) final
Receive a frame from the RTP stream.
Definition QtRtpUncompressedDepayloader.cc:51
Manage an RTP stream.
Definition rtp_uncompressed_depayloader.h:73
The Qt wrappers namespace.
Definition QtRtpAv1Depayloader.cc:19
StreamState
The stream state.
Definition rtp_depayloader.h:34
RTP streaming video class for uncompressed DEF-STAN 00-82 video streams.
Struct capturing all stream information.
Definition rtp_types.h:223