MediaX v1.0.0rc7 [7e6cb74]
Video streaming for military vehicles
Loading...
Searching...
No Matches
QtRtpOpenH264Depayloader.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_QTRTPOPENH264DEPAYLOADER_H_
16#define QT6_QTRTPOPENH264DEPAYLOADER_H_
17
18#include <QByteArray>
19#include <QObject>
20#include <QVector>
21
24
25namespace mediax::qt6 {
26
29 public:
35 explicit QtRtpOpenH264Depayloader(QObject *parent = nullptr);
36
42 Q_INVOKABLE void setStreamInfo(const mediax::rtp::StreamInformation &stream_information) final;
43
49 Q_INVOKABLE bool open() final;
50
55 Q_INVOKABLE void start() final;
56
61 Q_INVOKABLE void stop() final;
62
67 Q_INVOKABLE void close() final;
68
75 Q_INVOKABLE bool receive(QByteArray *frame, int timeout = 0) final;
76
81 Q_INVOKABLE QVector<quint8> getBuffer() final;
82
87 Q_INVOKABLE mediax::rtp::StreamState getState() const final;
88
89 private:
92};
93
94} // namespace mediax::qt6
95
96#endif // QT6_QTRTPOPENH264DEPAYLOADER_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 for H.264 DEF-STAN 00-82 video streams.
Definition QtRtpOpenH264Depayloader.h:28
Q_INVOKABLE bool receive(QByteArray *frame, int timeout=0) final
Receive a frame from the RTP stream.
Definition QtRtpOpenH264Depayloader.cc:51
mediax::rtp::h264::gst::open::RtpH264GstOpenDepayloader m_depayloader
The underlying RTP H.264 depayloader.
Definition QtRtpOpenH264Depayloader.h:91
Q_INVOKABLE mediax::rtp::StreamState getState() const final
Get the State object.
Definition QtRtpOpenH264Depayloader.cc:67
Q_INVOKABLE void stop() final
Stop the RTP stream.
Definition QtRtpOpenH264Depayloader.cc:47
Q_INVOKABLE void setStreamInfo(const mediax::rtp::StreamInformation &stream_information) final
Set the Stream Info object.
Definition QtRtpOpenH264Depayloader.cc:23
Q_INVOKABLE void start() final
Start the RTP stream.
Definition QtRtpOpenH264Depayloader.cc:45
Q_INVOKABLE bool open() final
Open the RTP stream.
Definition QtRtpOpenH264Depayloader.cc:43
Q_INVOKABLE QVector< quint8 > getBuffer() final
Get the Buffer object.
Definition QtRtpOpenH264Depayloader.cc:60
Q_INVOKABLE void close() final
Close the RTP stream.
Definition QtRtpOpenH264Depayloader.cc:49
A RTP payloader for H.264 DEF-STAN 00-82 video streams.
Definition rtp_h264_depayloader.h:31
The Qt wrappers namespace.
Definition QtRtpAv1Depayloader.cc:19
StreamState
The stream state.
Definition rtp_depayloader.h:34
RTP streaming video class for H.264 DEF-STAN 00-82 video streams using openh264.
Struct capturing all stream information.
Definition rtp_types.h:223