![]() |
MediaX v1.0.0rc7 [7e6cb74]
Video streaming for military vehicles
|
RTP streaming video types. More...
#include <stdint.h>
#include <array>
#include <map>
#include <string>
Go to the source code of this file.
Data Structures | |
struct | mediax::rtp::float4 |
4 byte float More... | |
struct | mediax::rtp::Rgb |
RGB. More... | |
struct | mediax::rtp::RtpHeaderData |
12 byte RTP Raw video header More... | |
struct | mediax::rtp::RtpLineHeader |
Line header. More... | |
struct | mediax::rtp::RtpPortType |
Store common port information for ingress and egress ports. More... | |
struct | mediax::rtp::RtpPayloadHeader |
RTP Payload header. More... | |
struct | mediax::rtp::RtpHeader |
RTP packet structure. More... | |
struct | mediax::rtp::RtpPacket |
RTP packet structure. More... | |
struct | mediax::rtp::Resolution |
Resolution of a video stream. More... | |
struct | mediax::rtp::RtpFrameData |
The RTP callback data. More... | |
struct | mediax::rtp::TxData |
Transmit data structure. More... | |
struct | mediax::rtp::StreamInformation |
Struct capturing all stream information. More... | |
Namespaces | |
namespace | mediax |
The Astute Systems (MediaX) library for video streaming. | |
namespace | mediax::rtp |
The Real Time Protocol (RTP) namespace. | |
Enumerations | |
enum class | mediax::rtp::StatusCode { kStatusOk = 0 , kStatusError } |
The status code. | |
enum class | mediax::rtp::ColourspaceType { kColourspaceRgb24 = 0 , kColourspaceYuv422 , kColourspaceYuv420p , kColourspaceMono8 , kColourspaceMono16 , kColourspaceRgba , kColourspaceBgra , kColourspaceNv12 , kColourspaceJpeg2000 , kColourspaceH264Part4 , kColourspaceH264Part10 , kColourspaceH265 , kColourspaceAv1 , kColourspaceUndefined } |
Supported colour spaces. | |
Variables | |
const uint16_t | mediax::rtp::kSapPort = 9875 |
SAP/SDP port. | |
const uint32_t | mediax::rtp::kRtpVersion = 0x2 |
RFC 1889 Version 2. | |
const uint32_t | mediax::rtp::kRtpExtension = 0x0 |
RTP Extension bit. | |
const uint32_t | mediax::rtp::kRtpMarker = 0x0 |
RTP marker bit. | |
const uint32_t | mediax::rtp::kRtpPayloadType = 0x60 |
96 Dynamic Type | |
const uint32_t | mediax::rtp::kRtpSource = 0x12345678 |
Should be unique. | |
const uint32_t | mediax::rtp::kRtpFramerate = 25 |
25 frames per second | |
const uint32_t | mediax::rtp::Hz90 = 90000 |
90KHz clock | |
const uint32_t | mediax::rtp::kNumberLinesPerPacket = 10 |
can have more that one line in a packet | |
const uint32_t | mediax::rtp::kMaximumBufferSize = 1280 * 3 |
allow for RGB data upto 1280 pixels wide | |
const uint32_t | mediax::rtp::kMaxUdpData = kMaximumBufferSize + 100 |
enough space for three lines of UDP data MTU size should be checked | |
const uint32_t | mediax::rtp::kRtpCheck = 0 |
0 to disable RTP header checking | |
const uint32_t | mediax::rtp::kRtpThreaded = 1 |
transmit and recieve in a thread. RX thread blocks TX does not | |
const uint32_t | mediax::rtp::kPitch = 4 |
RGBX processing kPitch. | |
const std::map< ColourspaceType, uint8_t > | mediax::rtp::kColourspaceBytes |
The bits per pixel. | |
const std::map< ColourspaceType, std::string > | mediax::rtp::kRtpMap |
SDP encoding type. | |
const std::map< ColourspaceType, std::string > | mediax::rtp::kColourspace |
SDP colourspace if applicable. | |
RTP streaming video types.