EMIPLIB
1.2.1
|
Creates RTP packets for U-law encoded audio packets. More...
#include <miprtpulawencoder.h>
Public Member Functions | |
bool | init () |
Initializes the encoder. More... | |
Public Member Functions inherited from MIPRTPEncoder | |
void | setPayloadType (uint8_t payloadType) |
Sets the payload type. More... | |
uint8_t | getPayloadType () const |
Returns the payload type. More... | |
Public Member Functions inherited from MIPComponent | |
virtual void | lock () |
Locks the current component. More... | |
virtual void | unlock () |
Unlocks the current component. More... | |
virtual bool | processFeedback (const MIPComponentChain &chain, int64_t feedbackChainID, MIPFeedback *feedback) |
Add feedback information about this component. More... | |
std::string | getComponentName () const |
Returns the name of the component. More... | |
Public Member Functions inherited from MIPErrorBase | |
std::string | getErrorString () const |
Returns the last known error description. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from MIPOutputMessageQueue | |
MIPOutputMessageQueue (const std::string &componentName) | |
Constructor of the class, which passes a specific component name to the MIPComponent constructor. More... | |
void | init () |
Initialize this component. More... | |
void | clearMessages () |
Clears the messages in the output queue. More... | |
void | checkIteration (int64_t iteration) |
Call this at the start of your 'push' method to make sure that the output message queue is cleared when a new iteration of your component chain is executed. More... | |
void | addToOutputQueue (MIPMessage *pMsg, bool deleteMessage) |
Add the specified message to the output queue, indicating if the message should be deleted when the output messages queue is cleared for a new iteration. More... | |
Protected Member Functions inherited from MIPComponent | |
MIPComponent (const std::string &componentName) | |
Create a component with the specified name. More... | |
Protected Member Functions inherited from MIPErrorBase | |
void | setErrorString (const std::string &str) const |
Stores an error description. More... | |
This component accepts incoming U-law encoded 8000Hz mono audio packets and generates MIPRTPSendMessage objects which can then be transferred to a MIPRTPComponent instance.
bool MIPRTPULawEncoder::init | ( | ) |