This class describes a media format as used in the OPAL system.
This class describes a media format as used in the OPAL system. A media format is the type of any media data that is trasferred between OPAL entities. For example an audio codec such as G.723.1 is a media format, a video codec such as H.261 is also a media format.There
If the rtpPayloadType is RTP_DataFrame::DynamicBase, then the RTP
payload type is actually set to teh first unused dynamic RTP payload
type that is in the registers set of media formats. The frameSize parameter indicates that the media format has a maximum
size for each data frame, eg G.723.1 frames are no more than 24 bytes
long. If zero then there is no intrinsic maximum, eg G.711.
OpalMediaFormat( const char * search, BOOL exact = TRUE )
exact - Flag for if search is to match name exactly OpalMediaFormat( const char * fullName, unsigned defaultSessionID, RTP_DataFrame::PayloadTypes rtpPayloadType, BOOL needsJitter, unsigned bandwidth, PINDEX frameSize = 0, unsigned frameTime = 0, unsigned timeUnits = 0 )
defaultSessionID - Default session for codec type
rtpPayloadType - RTP payload type code
needsJitter - Indicate format requires a jitter buffer
bandwidth - Bandwidth in bits/second
frameSize - Size of frame in bytes (if applicable)
frameTime - Time for frame in RTP units (if applicable)
timeUnits - RTP units for frameTime (if applicable)BOOL IsValid() const
RTP_DataFrame::PayloadTypes GetPayloadType() const
unsigned GetDefaultSessionID() const
BOOL NeedsJitterBuffer() const
unsigned GetBandwidth() const
PINDEX GetFrameSize() const
unsigned GetFrameTime() const
unsigned GetTimeUnits() const
inline static const List& GetRegisteredMediaFormats()
Alphabetic index HTML hierarchy of classes or Java