diff options
Diffstat (limited to 'channels/h323/caps_h323.h')
-rw-r--r-- | channels/h323/caps_h323.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/channels/h323/caps_h323.h b/channels/h323/caps_h323.h index be63e0230..3238dd5c6 100644 --- a/channels/h323/caps_h323.h +++ b/channels/h323/caps_h323.h @@ -121,4 +121,23 @@ protected: int comfortNoise; int scrambled; }; + +#define CISCO_G726r32 "G726r32" + +class AST_CiscoG726Capability : public H323NonStandardAudioCapability { + PCLASSINFO(AST_CiscoG726Capability, H323NonStandardAudioCapability); + +public: + /* Create a new Cisco G.726 capability */ + AST_CiscoG726Capability(int rx_frames = 80); + + /* Create a copy of the object. */ + virtual PObject * Clone() const; + + /* Create the codec instance, allocating resources as required. */ + virtual H323Codec * CreateCodec(H323Codec::Direction direction) const; + + /* Get the name of the media data format this class represents. */ + virtual PString GetFormatName() const; +}; #endif /* __AST_H323CAPS_H */ |