MediaX v1.0.0rc7 [7e6cb74]
Video streaming for military vehicles
Loading...
Searching...
No Matches
rtp_transmit.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 QtTransmit : public QObject {
20 Q_OBJECT
21
22 public:
27 QtTransmit();
28
34
35 signals:
41 void newFrame(Frame frame);
42
43 public slots:
48 void sendFrame(Frame frame);
49
50 private:
54 int frame_count = 0;
55};
57
58#endif // QT_RECEIVE_H
[QtTransmit example header]
Definition rtp_transmit.h:19
void newFrame(Frame frame)
New frame signal.
QtTransmit()
Construct a new Qt Receive object.
Definition rtp_transmit.cpp:17
mediax::qt6::QtRtpUncompressedPayloader rtp
The Qt RTP payloader.
Definition rtp_transmit.h:52
void sendFrame(Frame frame)
Send a single frame to the payloader.
Definition rtp_transmit.cpp:34
int frame_count
Frame counter.
Definition rtp_transmit.h:54
~QtTransmit()
Destroy the Qt Receive object.
Definition rtp_transmit.cpp:29
A RTP payloader base class for uncompressed video streams.
Definition QtRtpUncompressedPayloader.h:28
A structure to store frames of video.
Definition QtCommon.h:21