MediaX v1.0.0rc7 [7e6cb74]
Video streaming for military vehicles
Loading...
Searching...
No Matches
rtp_receive.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//
11
12#ifndef QT_RECEIVE_H
13#define QT_RECEIVE_H
15#include <QObject>
16#include <QRtp>
17#include <QTimer>
18
19class QtReceive : public QObject {
20 Q_OBJECT
21
22 public:
27 QtReceive();
28
33 ~QtReceive();
34
35 public slots:
40 void newFrame(Frame frame);
41
42 private:
46 int frame_count = 0;
47};
49
50#endif // QT_RECEIVE_H
[QtReceive example header]
Definition rtp_receive.h:19
~QtReceive()
Destroy the Qt Receive object.
Definition rtp_receive.cpp:29
QtReceive()
Construct a new Qt Receive object.
Definition rtp_receive.cpp:17
int frame_count
Frame counter.
Definition rtp_receive.h:46
void newFrame(Frame frame)
Send a single frame to the payloader.
Definition rtp_receive.cpp:34
mediax::qt6::QtRtpUncompressedDepayloader rtp
The Qt RTP payloader.
Definition rtp_receive.h:44
A RTP depayloader base class for uncompressed video streams.
Definition QtRtpUncompressedDepayloader.h:27
A structure to store frames of video.
Definition QtCommon.h:21