MediaX v1.0.0rc7 [7e6cb74]
Video streaming for military vehicles
Loading...
Searching...
No Matches
sap_utils.cc File Reference

Session Announcement Protocol (SDP) implementation for listening to announcements of stream data. The SAP packet contains the Session Description Protocol (SDP). More...

#include "sap/sap_utils.h"
#include <algorithm>
#include <string>
#include <string_view>
Include dependency graph for sap_utils.cc:

Namespaces

namespace  mediax
 The Astute Systems (MediaX) library for video streaming.
 
namespace  mediax::sap
 The Session Announcment Protocol (SAP)/ Session Description Protocol (SDP) namespace.
 

Functions

::mediax::rtp::StreamInformation mediax::sap::SapToStreamInformation (const SdpMessage &sdp_message)
 Convert the SDP message to a StreamInformation object.
 
mediax::rtp::ColourspaceType mediax::sap::SamplingToColourspaceType (std::string_view sampling, uint32_t bits_per_pixel)
 Convert a string to a ColourspaceType.
 
std::string mediax::sap::GetSdpColourspace (mediax::rtp::ColourspaceType colourspace)
 Get the Sdp Colourspace object.
 

Detailed Description

Session Announcement Protocol (SDP) implementation for listening to announcements of stream data. The SAP packet contains the Session Description Protocol (SDP).