Photon C++ Client API
5.0.7.3
|


Public Member Functions | |
| Encoder (const VoiceInfo &info, const ILogger &logger) | |
| virtual Common::JString | getError (void) const |
| If not null, the object is in invalid state. More... | |
| virtual void | setOutput (void *opaque, void(*output)(void *, const Buffer< nByte > &)) |
| Set callback encoder calls on each encoded data frame (if such output supported). More... | |
| virtual Buffer< nByte > | dequeueOutput (void) |
| Returns next encoded data frame (if such output supported). More... | |
| virtual void | input (const Buffer< T > &buf) |
| Consumes the given raw data. More... | |
Static Public Attributes | |
| static const int | RECOMMENDED_MAX_PACKET_SIZE |
|
virtual |
If not null, the object is in invalid state.
Implements IEncoder.
|
virtual |
Set callback encoder calls on each encoded data frame (if such output supported).
Implements IEncoder.
|
virtual |
Returns next encoded data frame (if such output supported).
Implements IEncoder.
|
virtual |
Consumes the given raw data.
| buf | Array containing raw data (e.g. audio samples). |
Implements IEncoderDirect< Buffer< T > >.