MediaX v1.0.0rc7 [7e6cb74]
Video streaming for military vehicles
Loading...
Searching...
No Matches
rtph264_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//
13
14#ifndef H264_NATIVE_RTPH264_PAYLOADER_H_
15#define H264_NATIVE_RTPH264_PAYLOADER_H_
16
17#include "rtp/rtp_payloader.h"
18
19namespace mediax::rtp::h264 {
20
28
34
46 void SetStreamInfo(std::string_view name, ColourspaceType encoding, uint32_t height, uint32_t width,
47 uint32_t framerate, std::string_view hostname, const uint32_t portno) override;
48
55 bool Open() final;
56
61 void Close() final;
62
70 int Transmit(uint8_t *rgbframe, bool blocking = true) final;
71
76 void Start() final;
77
82 void Stop() final;
83};
84
85} // namespace mediax::rtp::h264
86
87#endif // H264_NATIVE_RTPH264_PAYLOADER_H_
Manage an RTP stream.
Definition rtp_payloader.h:30
A RTP payloader base class for H264 compressed video streams.
Definition rtph264_payloader.h:22
void Close() final
Close the RTP stream.
bool Open() final
Open the RTP stream.
int Transmit(uint8_t *rgbframe, bool blocking=true) final
RtpH264Payloader()
Construct a new Rtp H.264 Payloader object.
void Start() final
Stop the stream, can be quickly re-started.
~RtpH264Payloader() final
Destroy the Rtp H.264 Payloader object.
void Stop() final
Stop the stream.
void SetStreamInfo(std::string_view name, ColourspaceType encoding, uint32_t height, uint32_t width, uint32_t framerate, std::string_view hostname, const uint32_t portno) override
Set the Stream Info object.
The H.264 video compression namespace.
Definition rtp_h264_depayloader.cc:36
ColourspaceType
Supported colour spaces.
Definition rtp_types.h:102
RTP streaming video class for uncompressed DEF-STAN 00-82 video streams.