MediaX v1.1.2 [a0bc647]
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();
49
50 private:
54 int frame_count = 0;
55 Frame frame; // Frame to transmit
56};
58
59#endif // QT_RECEIVE_H
[QtTransmit example header]
Definition rtp_transmit.h:19
void sendFrame()
Send a single frame to the payloader.
Definition rtp_transmit.cpp:31
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
int frame_count
Frame counter.
Definition rtp_transmit.h:54
~QtTransmit()
Destroy the Qt Receive object.
Definition rtp_transmit.cpp:26
A RTP payloader base class for uncompressed video streams.
Definition QtRtpUncompressedPayloader.h:28
A structure to store frames of video.
Definition QtCommon.h:21