OPAL  Version 3.12.9
OpalRTPAVPMediaType Class Reference

#include <mediatype.h>

Inheritance diagram for OpalRTPAVPMediaType:
Collaboration diagram for OpalRTPAVPMediaType:

Public Member Functions

 OpalRTPAVPMediaType (const char *mediaType, unsigned requiredSessionId=0, OpalMediaType::AutoStartMode autoStart=OpalMediaType::DontOffer)
 
virtual bool MatchesSDP (const PCaselessString &, const PCaselessString &, const PStringArray &, PINDEX)
 Determine of this media type is valid for SDP m= section. More...
 
- Public Member Functions inherited from OpalMediaTypeDefinition
 OpalMediaTypeDefinition (const char *mediaType, const char *mediaSession, unsigned requiredSessionId=0, OpalMediaType::AutoStartMode autoStart=OpalMediaType::DontOffer)
 Create a new media type definition. More...
 
virtual ~OpalMediaTypeDefinition ()
 
OpalMediaType::AutoStartMode GetAutoStart () const
 
void SetAutoStart (OpalMediaType::AutoStartMode v)
 
void SetAutoStart (OpalMediaType::AutoStartMode v, bool on)
 
unsigned GetDefaultSessionId () const
 
const PString & GetMediaSessionType () const
 
virtual SDPMediaDescriptionCreateSDPMediaDescription (const OpalTransportAddress &localAddress) const
 create an SDP media description entry for this media type More...
 

Additional Inherited Members

- Protected Attributes inherited from OpalMediaTypeDefinition
OpalMediaType m_mediaType
 
PString m_mediaSessionType
 
unsigned m_defaultSessionId
 
OpalMediaType::AutoStartMode m_autoStart
 

Constructor & Destructor Documentation

OpalRTPAVPMediaType::OpalRTPAVPMediaType ( const char *  mediaType,
unsigned  requiredSessionId = 0,
OpalMediaType::AutoStartMode  autoStart = OpalMediaType::DontOffer 
)

Member Function Documentation

virtual bool OpalRTPAVPMediaType::MatchesSDP ( const PCaselessString &  sdpMediaType,
const PCaselessString &  sdpTransport,
const PStringArray &  sdpLines,
PINDEX  index 
)
virtual

Determine of this media type is valid for SDP m= section.

Reimplemented from OpalMediaTypeDefinition.

Reimplemented in OpalH224MediaType.


The documentation for this class was generated from the following file: