SimpleMediaType< Type, sdp > Class Template Reference

#include <mediatype.h>

Inheritance diagram for SimpleMediaType< Type, sdp >:
OpalMediaTypeDefinition

List of all members.

Public Member Functions

 SimpleMediaType ()
virtual ~SimpleMediaType ()
virtual RTP_UDPCreateRTPSession (OpalRTPConnection &, unsigned, bool)
PString GetRTPEncoding () const
virtual SDPMediaDescriptionCreateSDPMediaDescription (const OpalTransportAddress &)

template<char * Type, const char * sdp>
class SimpleMediaType< Type, sdp >


Constructor & Destructor Documentation

template<char * Type, const char * sdp>
SimpleMediaType< Type, sdp >::SimpleMediaType (  )  [inline]
template<char * Type, const char * sdp>
virtual SimpleMediaType< Type, sdp >::~SimpleMediaType (  )  [inline, virtual]

Member Function Documentation

template<char * Type, const char * sdp>
virtual RTP_UDP* SimpleMediaType< Type, sdp >::CreateRTPSession ( OpalRTPConnection conn,
unsigned  sessionID,
bool  remoteIsNAT 
) [inline, virtual]

Create an RTP session for this media format. By default, this will create a RTP_UDP session with the correct initial format

Only valid if UsesRTP return true

Reimplemented from OpalMediaTypeDefinition.

template<char * Type, const char * sdp>
virtual SDPMediaDescription* SimpleMediaType< Type, sdp >::CreateSDPMediaDescription ( const OpalTransportAddress  )  [inline, virtual]
template<char * Type, const char * sdp>
PString SimpleMediaType< Type, sdp >::GetRTPEncoding (  )  const [inline, virtual]

Get the string used for the RTP_FormatHandler PFactory which is used to create the RTP handler for the this media type possible values include "rtp/avp" and "udptl"

Only valid if UsesRTP return true

Implements OpalMediaTypeDefinition.


The documentation for this class was generated from the following file:
Generated on Wed Jul 7 10:25:08 2010 for OPAL by  doxygen 1.6.3