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_NVENC_RTPH264_PAYLOADER_H_
15#define H264_NVENC_RTPH264_PAYLOADER_H_
16
17#include "rtp/rtp_payloader.h"
18
21
29
35
47 void SetStreamInfo(std::string_view name, ColourspaceType encoding, uint32_t height, uint32_t width,
48 uint32_t framerate, std::string_view hostname, const uint32_t portno) override;
49
56 bool Open() final;
57
62 void Close() final;
63
71 int Transmit(uint8_t *rgbframe, bool blocking = true) final;
72
77 void Start() final;
78
83 void Stop() final;
84};
85
86} // namespace mediax::rtp::h264::nvenc
87
88#endif // H264_NVENC_RTPH264_PAYLOADER_H_
Manage an RTP stream.
Definition rtp_payloader.h:30
A RTP payloader for H.264 DEF-STAN 00-82 video streams.
Definition rtph264_payloader.h:23
int Transmit(uint8_t *rgbframe, bool blocking=true) final
void Stop() final
Stop the stream.
~RtpH264Payloader() final
Destroy the Rtp H.264 Payloader object.
bool Open() final
Open the RTP stream.
void Start() final
Stop the stream, can be quickly re-started.
RtpH264Payloader()
Construct a new Rtp H.264 Payloader object.
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.
void Close() final
Close the RTP stream.
The H.264 video compression (software only) namespace.
Definition rtph264_depayloader.cc:24
ColourspaceType
Supported colour spaces.
Definition rtp_types.h:102
RTP streaming video class for uncompressed DEF-STAN 00-82 video streams.