MediaX v1.0.0rc7 [7e6cb74]
Video streaming for military vehicles
Loading...
Searching...
No Matches
rtph264_depayloader.h
Go to the documentation of this file.
1
2//
3// Copyright (c) 2025, Astute Systems PTY LTD
4//
5// This file is part of the VivoeX project developed by Astute Systems.
6//
7// Licensed under the Attribution-NonCommercial 4.0 International (CC BY-NC 4.0)
8// License. See the LICENSE file in the project root for full license details.
9//
14
15#ifndef H264_VAAPI_RTPH264_DEPAYLOADER_H_
16#define H264_VAAPI_RTPH264_DEPAYLOADER_H_
17
18#include <vector>
19
22
25 public:
31
37
44 RtpH264VaapiDepayloader &operator=(const RtpH264VaapiDepayloader &other) { return *this; }
45
52
58 void SetStreamInfo(const ::mediax::rtp::StreamInformation &stream_information) final;
59
66 bool Open() final;
67
72 void Start() final;
73
78 void Stop() final;
79
84 void Close() final;
85
94 bool Receive(mediax::rtp::RtpFrameData *data, int32_t timeout = 0) final;
95
100 void NewFrame();
101
102 private:
104 GstElement *pipeline_;
106 bool new_rx_frame_ = false;
107};
108
109} // namespace mediax::rtp::h264::vaapi
110
111#endif // H264_VAAPI_RTPH264_DEPAYLOADER_H_
Manage an RTP stream.
Definition rtp_depayloader.h:61
A RTP payloader for H.264 DEF-STAN 00-82 video streams.
Definition rtph264_depayloader.h:24
void Close() final
Close the RTP stream.
RtpH264VaapiDepayloader(RtpH264VaapiDepayloader &&other)=delete
Construct a new RtpH264Depayloader object (Deleted)
void Stop() final
Stop the stream, can be quickly re-started.
~RtpH264VaapiDepayloader() final
Destroy the Rtpvraw Depayloader object.
bool Receive(mediax::rtp::RtpFrameData *data, int32_t timeout=0) final
Recieve a frame or timeout.
GstElement * pipeline_
The GStreamer pipeline.
Definition rtph264_depayloader.h:104
bool Open() final
Open the RTP stream.
bool new_rx_frame_
A flag indication a new frame is available.
Definition rtph264_depayloader.h:106
void SetStreamInfo(const ::mediax::rtp::StreamInformation &stream_information) final
Configure at RTP input stream and dont wait for the SAP/SDP announcement.
RtpH264VaapiDepayloader()=default
Construct a new Rtpvraw Depayloader object.
The MediaX Intel Video Accelleration API (VAAPI) namespace.
Definition rtph264_depayloader.cc:24
The Astute Systems (MediaX) library for video streaming.
Definition rtp_av1_depayloader.cc:34
The RTP callback data.
Definition rtp_types.h:201