#include <mediatype.h>
Inheritance diagram for SimpleMediaType< Type, sdp >:
Public Member Functions | |
SimpleMediaType () | |
virtual | ~SimpleMediaType () |
virtual RTP_UDP * | CreateRTPSession (OpalRTPConnection &, unsigned, bool) |
PString | GetRTPEncoding () const |
SimpleMediaType< Type, sdp >::SimpleMediaType | ( | ) | [inline] |
virtual SimpleMediaType< Type, sdp >::~SimpleMediaType | ( | ) | [inline, virtual] |
virtual RTP_UDP* SimpleMediaType< Type, sdp >::CreateRTPSession | ( | OpalRTPConnection & | , | |
unsigned | , | |||
bool | ||||
) | [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.
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.