MediaX v1.0.0rc7 [7e6cb74]
Video streaming for military vehicles
Loading...
Searching...
No Matches
mediax::qt6::QtRtpDepayloader Class Referenceabstract

A RTP depayloader base class. More...

#include <QtRtpDepayloader.h>

Inheritance diagram for mediax::qt6::QtRtpDepayloader:
Inheritance graph
Collaboration diagram for mediax::qt6::QtRtpDepayloader:
Collaboration graph

Signals

void newFrame (Frame frame)
 Signal to process a new incoming frame.
 

Public Member Functions

 QtRtpDepayloader (QObject *parent=nullptr)
 Construct a new Qt Rtp Depayloader object.
 
virtual Q_INVOKABLE void setStreamInfo (const mediax::rtp::StreamInformation &stream_information)=0
 Set the Stream Info object.
 
virtual Q_INVOKABLE bool open ()=0
 Open the RTP stream.
 
virtual Q_INVOKABLE void start ()=0
 Start the RTP stream.
 
virtual Q_INVOKABLE void stop ()=0
 Stop the RTP stream.
 
virtual Q_INVOKABLE void close ()=0
 Close the RTP stream.
 
virtual Q_INVOKABLE bool receive (QByteArray *frame, int timeout=0)=0
 Receive a frame from the RTP stream.
 
virtual Q_INVOKABLE QVector< quint8 > getBuffer ()=0
 Get the Buffer object.
 
virtual Q_INVOKABLE mediax::rtp::StreamState getState () const =0
 Get the State object.
 

Detailed Description

A RTP depayloader base class.

Constructor & Destructor Documentation

◆ QtRtpDepayloader()

mediax::qt6::QtRtpDepayloader::QtRtpDepayloader ( QObject *  parent = nullptr)
explicit

Construct a new Qt Rtp Depayloader object.

Parameters
parent

Member Function Documentation

◆ close()

◆ getBuffer()

◆ getState()

◆ newFrame

void mediax::qt6::QtRtpDepayloader::newFrame ( Frame  frame)
signal

Signal to process a new incoming frame.

Parameters
frame

◆ open()

◆ receive()

virtual Q_INVOKABLE bool mediax::qt6::QtRtpDepayloader::receive ( QByteArray *  frame,
int  timeout = 0 
)
pure virtual

Receive a frame from the RTP stream.

Parameters
framebuffer to hold the recieved image
timeouttimeout in milliseconds, if zero wait for ever (blocking)

Implemented in mediax::qt6::QtRtpAv1Depayloader, mediax::qt6::QtRtpJpegDepayloader, mediax::qt6::QtRtpJpegVaapiDepayloader, mediax::qt6::QtRtpOpenH264Depayloader, mediax::qt6::QtRtpUncompressedDepayloader, mediax::qt6::QtRtpVaapiH264Depayloader, and mediax::qt6::QtRtpH265Depayloader.

◆ setStreamInfo()

virtual Q_INVOKABLE void mediax::qt6::QtRtpDepayloader::setStreamInfo ( const mediax::rtp::StreamInformation stream_information)
pure virtual

◆ start()

◆ stop()


The documentation for this class was generated from the following files: