MediaX
v1.0.0rc7 [7e6cb74]
Video streaming for military vehicles
Loading...
Searching...
No Matches
rtp_av1_payloader.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 AV1_GST_RTP_AV1_PAYLOADER_H_
13
#define AV1_GST_RTP_AV1_PAYLOADER_H_
14
15
#include <gst/gst.h>
16
17
#include "
rtp/rtp_payloader.h
"
18
19
namespace
mediax::rtp::av1::gst
{
20
22
class
RtpAv1GstPayloader
:
public
mediax::rtp::RtpPayloader
{
23
public
:
28
RtpAv1GstPayloader
();
29
34
~RtpAv1GstPayloader
() final;
35
41
void
SetStreamInfo
(const ::
mediax
::rtp::
StreamInformation
&stream_information) override;
42
49
bool
Open
() final;
50
55
void
Close
() final;
56
64
int
Transmit
(uint8_t *rgbframe,
bool
blocking = true) final;
65
70
void
Start
() final;
71
76
void
Stop
() final;
77
78
private:
80
GstElement *
pipeline_
;
82
bool
started_
= false;
83
};
84
85
}
// namespace mediax::rtp::av1::gst
86
87
#endif
// AV1_GST_RTP_AV1_PAYLOADER_H_
mediax::rtp::RtpPayloader
Manage an RTP stream.
Definition
rtp_payloader.h:30
mediax::rtp::av1::gst::RtpAv1GstPayloader
A RTP payloader for H.264 DEF-STAN 00-82 video streams.
Definition
rtp_av1_payloader.h:22
mediax::rtp::av1::gst::RtpAv1GstPayloader::~RtpAv1GstPayloader
~RtpAv1GstPayloader() final
Destroy the Rtp H.264 Payloader object.
mediax::rtp::av1::gst::RtpAv1GstPayloader::Stop
void Stop() final
Stop the stream.
Definition
rtp_av1_payloader.cc:142
mediax::rtp::av1::gst::RtpAv1GstPayloader::Start
void Start() final
Stop the stream, can be quickly re-started.
Definition
rtp_av1_payloader.cc:136
mediax::rtp::av1::gst::RtpAv1GstPayloader::Transmit
int Transmit(uint8_t *rgbframe, bool blocking=true) final
Definition
rtp_av1_payloader.cc:40
mediax::rtp::av1::gst::RtpAv1GstPayloader::started_
bool started_
Pipeline started when true.
Definition
rtp_av1_payloader.h:82
mediax::rtp::av1::gst::RtpAv1GstPayloader::Open
bool Open() final
Open the RTP stream.
Definition
rtp_av1_payloader.cc:73
mediax::rtp::av1::gst::RtpAv1GstPayloader::pipeline_
GstElement * pipeline_
Gstreamer pipeline.
Definition
rtp_av1_payloader.h:80
mediax::rtp::av1::gst::RtpAv1GstPayloader::Close
void Close() final
Close the RTP stream.
Definition
rtp_av1_payloader.cc:128
mediax::rtp::av1::gst::RtpAv1GstPayloader::SetStreamInfo
void SetStreamInfo(const ::mediax::rtp::StreamInformation &stream_information) override
Set the Stream Info object.
Definition
rtp_av1_payloader.cc:29
mediax::rtp::av1::gst::RtpAv1GstPayloader::RtpAv1GstPayloader
RtpAv1GstPayloader()
Construct a new Rtp H.264 Payloader object.
mediax::rtp::av1::gst
The H.264 video compression GStreamer namespace.
Definition
rtp_av1_depayloader.cc:34
mediax
The Astute Systems (MediaX) library for video streaming.
Definition
rtp_av1_depayloader.cc:34
rtp_payloader.h
RTP streaming video class for uncompressed DEF-STAN 00-82 video streams.
mediax::rtp::StreamInformation
Struct capturing all stream information.
Definition
rtp_types.h:223
src
av1
gst
rtp_av1_payloader.h
Generated by
1.9.8