OPAL  Version 3.18.8
OpalPluginAudioFormatInternal Class Reference

#include <opalpluginmgr.h>

Inheritance diagram for OpalPluginAudioFormatInternal:
Collaboration diagram for OpalPluginAudioFormatInternal:

Public Member Functions

 OpalPluginAudioFormatInternal (const PluginCodec_Definition *codecDefn, const char *fmtName, const char *rtpEncodingName, unsigned frameTime, unsigned timeUnits, time_t timeStamp)
 
virtual PObject * Clone () const
 
virtual bool IsValidForProtocol (const PString &protocol) const
 
virtual bool ToNormalisedOptions ()
 
virtual bool ToCustomisedOptions ()
 
- Public Member Functions inherited from OpalAudioFormatInternal
 OpalAudioFormatInternal (const char *fullName, RTP_DataFrame::PayloadTypes rtpPayloadType, const char *encodingName, PINDEX frameSize, unsigned frameTime, unsigned rxFrames, unsigned txFrames, unsigned maxFrames, unsigned clockRate, time_t timeStamp=0, unsigned channels=1)
 
virtual bool Merge (const OpalMediaFormatInternal &mediaFormat)
 
virtual OpalAudioFormat::FrameType GetFrameType (const BYTE *payloadPtr, PINDEX payloadSize, OpalAudioFormat::FrameDetectorPtr &detector) const
 
- Public Member Functions inherited from OpalMediaFormatInternal
 OpalMediaFormatInternal (const char *fullName, const OpalMediaType &mediaType, RTP_DataFrame::PayloadTypes rtpPayloadType, const char *encodingName, bool needsJitter, OpalBandwidth bandwidth, PINDEX frameSize, unsigned frameTime, unsigned clockRate, time_t timeStamp=0, bool allowMultiple=false)
 
const PCaselessString & GetName () const
 
virtual void PrintOn (ostream &strm) const
 
virtual bool IsValid () const
 
virtual bool IsTransportable () const
 
virtual PStringToString GetOptions () const
 
virtual bool GetOptionValue (const PString &name, PString &value) const
 
virtual bool SetOptionValue (const PString &name, const PString &value)
 
virtual bool GetOptionBoolean (const PString &name, bool dflt) const
 
virtual bool SetOptionBoolean (const PString &name, bool value)
 
virtual int GetOptionInteger (const PString &name, int dflt) const
 
virtual bool SetOptionInteger (const PString &name, int value)
 
virtual double GetOptionReal (const PString &name, double dflt) const
 
virtual bool SetOptionReal (const PString &name, double value)
 
virtual PINDEX GetOptionEnum (const PString &name, PINDEX dflt) const
 
virtual bool SetOptionEnum (const PString &name, PINDEX value)
 
virtual PString GetOptionString (const PString &name, const PString &dflt) const
 
virtual bool SetOptionString (const PString &name, const PString &value)
 
virtual bool GetOptionOctets (const PString &name, PBYTEArray &octets) const
 
virtual bool SetOptionOctets (const PString &name, const PBYTEArray &octets)
 
virtual bool SetOptionOctets (const PString &name, const BYTE *data, PINDEX length)
 
virtual bool AddOption (OpalMediaOption *option, PBoolean overwrite=false)
 
virtual OpalMediaOptionFindOption (const PString &name) const
 
virtual bool ValidateMerge (const OpalMediaFormatInternal &mediaFormat) const
 
void DeconflictPayloadTypes (OpalMediaFormatList &formats)
 
- Public Member Functions inherited from OpalPluginMediaFormatInternal
 OpalPluginMediaFormatInternal (const PluginCodec_Definition *defn)
 
bool AdjustOptions (OpalMediaFormatInternal &fmt, OpalPluginControl &control) const
 
void PopulateOptions (OpalMediaFormatInternal &format)
 
void SetOldStyleOption (OpalMediaFormatInternal &format, const PString &_key, const PString &_val, const PString &type)
 
bool IsValidForProtocol (const PString &_protocol) const
 

Friends

class OpalPluginCodecManager
 

Additional Inherited Members

- Data Fields inherited from OpalPluginMediaFormatInternal
const PluginCodec_DefinitioncodecDef
 
OpalPluginControl getOptionsControl
 
OpalPluginControl freeOptionsControl
 
OpalPluginControl validForProtocolControl
 
OpalPluginControl toNormalisedControl
 
OpalPluginControl toCustomisedControl
 
- Protected Member Functions inherited from OpalMediaFormatInternal
bool AdjustByOptionMaps (bool(*adjuster)(PluginCodec_OptionMap &original, PluginCodec_OptionMap &changed))
 
 PDECLARE_MUTEX (m_mutex, OpalMediaFormatInternal, 1000)
 
- Protected Attributes inherited from OpalMediaFormatInternal
PCaselessString formatName
 
RTP_DataFrame::PayloadTypes rtpPayloadType
 
PCaselessString rtpEncodingName
 
OpalMediaType mediaType
 
PSortedList< OpalMediaOptionoptions
 
time_t codecVersionTime
 
bool forceIsTransportable
 
bool m_allowMultiple
 

Constructor & Destructor Documentation

OpalPluginAudioFormatInternal::OpalPluginAudioFormatInternal ( const PluginCodec_Definition codecDefn,
const char *  fmtName,
const char *  rtpEncodingName,
unsigned  frameTime,
unsigned  timeUnits,
time_t  timeStamp 
)

Member Function Documentation

virtual PObject* OpalPluginAudioFormatInternal::Clone ( ) const
virtual

Reimplemented from OpalAudioFormatInternal.

virtual bool OpalPluginAudioFormatInternal::IsValidForProtocol ( const PString &  protocol) const
virtual

Reimplemented from OpalMediaFormatInternal.

virtual bool OpalPluginAudioFormatInternal::ToCustomisedOptions ( )
virtual

Reimplemented from OpalMediaFormatInternal.

virtual bool OpalPluginAudioFormatInternal::ToNormalisedOptions ( )
virtual

Reimplemented from OpalMediaFormatInternal.

Friends And Related Function Documentation

friend class OpalPluginCodecManager
friend

The documentation for this class was generated from the following file: