|
Public Types |
enum | Direction {
RecvOnly,
SendOnly,
SendRecv,
Inactive,
Undefined
} |
enum | MediaType {
Audio,
Video,
Application,
Unknown,
NumMediaTypes
} |
Public Member Functions |
| SDPMediaDescription (const OpalTransportAddress &address, MediaType mediaType=Unknown) |
void | PrintOn (ostream &strm) const |
void | PrintOn (const OpalTransportAddress &commonAddr, ostream &str) const |
BOOL | Decode (const PString &str) |
MediaType | GetMediaType () const |
const SDPMediaFormatList & | GetSDPMediaFormats () const |
OpalMediaFormatList | GetMediaFormats (unsigned) const |
void | CreateRTPMap (unsigned sessionID, RTP_DataFrame::PayloadMapType &map) const |
void | AddSDPMediaFormat (SDPMediaFormat *sdpMediaFormat) |
void | AddMediaFormat (const OpalMediaFormat &mediaFormat) |
void | AddMediaFormats (const OpalMediaFormatList &mediaFormats, unsigned session) |
void | SetAttribute (const PString &attr) |
void | SetDirection (const Direction &d) |
Direction | GetDirection () const |
const OpalTransportAddress & | GetTransportAddress () const |
PString | GetTransport () const |
void | SetTransport (const PString &v) |
PINDEX | GetPacketTime () const |
void | SetPacketTime (PINDEX milliseconds) |
Protected Member Functions |
void | PrintOn (ostream &strm, const PString &str) const |
Protected Attributes |
MediaType | mediaType |
WORD | portCount |
PCaselessString | media |
PCaselessString | transport |
OpalTransportAddress | transportAddress |
Direction | direction |
SDPMediaFormatList | formats |
PINDEX | packetTime |