#include <frame.h>
Inheritance diagram for IAX2MiniFrame:
Public Member Functions | |
IAX2MiniFrame (IAX2Frame &srcFrame) | |
IAX2MiniFrame (IAX2EndPoint &_endpoint) | |
IAX2MiniFrame (IAX2Processor *con, PBYTEArray &sound, BOOL isAudio, PINDEX usersTimeStamp=0) | |
virtual | ~IAX2MiniFrame () |
virtual BOOL | ProcessNetworkPacket () |
virtual BOOL | WriteHeader () |
virtual void | PrintOn (ostream &strm) const |
virtual BYTE * | GetMediaDataPointer () |
virtual PINDEX | GetMediaDataSize () |
void | AlterTimeStamp (PINDEX newValue) |
virtual void | InitialiseHeader (IAX2Processor *processor) |
virtual PINDEX | GetEncryptionOffset () |
Protected Member Functions | |
void | ZeroAllValues () |
|
Construction from a supplied dataframe. In this case, this class is filled from an incoming data packet |
|
Construction from an endpoint, to create an empty frame. |
|
Construction from an encoded audio array (stored in a PBYTEArray), in preparation to sending to remote node. The constructor will not delete the supplied PBYTEArray structure. TimeStamp will be calculated from time since call started, if the users timestamp is 0. If the users timeStamp is non zero, the frames timestamp will be this. |
|
Destructor |
|
Fix the timestamp in this class, after being shrunk in the MiniFrames |
|
Get the offset to the beginning of the encrypted region Reimplemented from IAX2Frame. |
|
Pointer to the beginning of the media (after the header) in this packet Reimplemented from IAX2Frame. |
|
Number of bytes in the media section of this packet. Reimplemented from IAX2Frame. |
|
Given the supplied Connection class, write the first 12 bytes of the frame. This method is called by the frame constructors, in preparation for transmission. This method is never called when processing a received frame. Whenever a frame is transmitted, this method will be called. Reimplemented from IAX2Frame. |
|
Pretty print this frame data to the designated stream Reimplemented from IAX2Frame. |
|
Process the incoming frame some more, but process it as this frame type demands Reimplemented from IAX2Frame. |
|
Write the header to the internal data area Reimplemented from IAX2Frame. |
|
Initialise valus in this class to some preset value Reimplemented from IAX2Frame. |