7 #ifndef __PV_SESSIONINFOSDP_H__
8 #define __PV_SESSIONINFOSDP_H__
10 #include <PvSystemLib.h>
194 #ifndef PV_GENERATING_DOXYGEN_DOC
211 void SetLicenseValid(
bool aValue ) { mLicenseValid = aValue; }
218 void SetConnectionID(
const std::string &aValue ) { *mConnectionID = aValue; }
225 void SetDisplayID(
const std::string &aValue ) { *mDisplayID = aValue; }
232 void SetUniqueID(
const std::string &aValue ) { *mUniqueID = aValue; }
239 void SetCompareID(
const std::string &aValue ) { *mCompareID = aValue; }
246 void SetLicenseMessage(
const std::string &aValue ) { *mLicenseMessage = aValue; }
253 std::string *GetCompareID() {
return mCompareID; }
260 std::string *mConnectionID;
261 std::string *mDisplayID;
262 std::string *mUniqueID;
263 std::string *mCompareID;
264 std::string *mLicenseMessage;
265 std::string *mContent;
PvSystem library enumerations.
Represents one interface (network adapter or USB host controller) on a system (the PC)
Definition: PvInterface.h:33
A class to read every SDP attribute for a given session.
Definition: PvSessionInfoSDP.h:22
PvString GetMediaType() const
Gets the media type (typically video).
uint16_t GetMediaDepth() const
Gets the depth of each sample (e.g. 8 bits).
PvString GetConnectionID() const
Gets the connection ID.
uint32_t GetMediaFramerate() const
Gets the frame rate.
bool IsConfigurationValid() const
Checks if the configuration is valid.
uint16_t GetMediaTransportPort() const
Gets the port to which the media is sent.
bool IsLicenseValid() const
Checks if the license is valid.
PvString GetMediaSampling() const
Gets the sampling (e.g. RGB).
virtual ~PvSessionInfoSDP()
Virtual destructor.
PvString GetMediaColorimetry() const
Gets the colorimetry.
const PvInterface * GetInterface() const
Gets the PvInterface where this session is discovered.
uint32_t GetMediaHeight() const
Gets the height.
PvString GetContent() const
Gets the content of the session (e.g. h264)
PvString GetUniqueID() const
Gets the unique ID.
uint32_t GetSessionID() const
Gets the session identifier.
bool GetMediaInterlaced() const
Returns if the media is interlaced.
uint32_t GetMediaWidth() const
Gets the width.
std::string GetSessionName() const
Gets the session name.
uint32_t GetSessionVersion() const
Gets the SDP version (starts at 0).
PvSessionInfoSDP * Copy() const
Copies the PvSessionInfoSDP.
PvString GetLicenseMessage() const
Gets a message about the license.
std::string GetSessionInfo() const
Gets all the information about the session.
PvString GetConnectionIP() const
Gets the IP to connect to the session.
PvString GetDisplayID() const
Gets the display identifier.
String class.
Definition: PvString.h:26