#include <mediatype.h>
Public Member Functions | |
OpalFaxMediaType () | |
PString | GetRTPEncoding (void) const |
RTP_UDP * | CreateRTPSession (OpalRTPConnection &conn, unsigned sessionID, bool remoteIsNAT) |
OpalMediaSession * | CreateMediaSession (OpalConnection &conn, unsigned) const |
SDPMediaDescription * | CreateSDPMediaDescription (const OpalTransportAddress &localAddress) |
OpalFaxMediaType::OpalFaxMediaType | ( | ) |
OpalMediaSession* OpalFaxMediaType::CreateMediaSession | ( | OpalConnection & | connection, | |
unsigned | sessionID | |||
) | const [virtual] |
Create a media session suitable for the media type.
Reimplemented from OpalMediaTypeDefinition.
RTP_UDP* OpalFaxMediaType::CreateRTPSession | ( | OpalRTPConnection & | conn, | |
unsigned | sessionID, | |||
bool | remoteIsNAT | |||
) | [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.
SDPMediaDescription* OpalFaxMediaType::CreateSDPMediaDescription | ( | const OpalTransportAddress & | localAddress | ) | [virtual] |
Implements OpalMediaTypeDefinition.
PString OpalFaxMediaType::GetRTPEncoding | ( | void | ) | const [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.