Photon C++ Client API
5.0.7.3
|
Typed re-framing LocalVoice More...

Public Member Functions | |
| int | getFrameSize (void) const |
| void | addPostProcessor (Common::Helpers::SharedPointer< IProcessor< T > > processor) |
| Adds the processor that is provided as a parameter after any built-in processors and everything added with addPreProcessor(). More... | |
| void | addPreProcessor (Common::Helpers::SharedPointer< IProcessor< T > > processor) |
| Adds the processor that is provided as a parameter before the built-in processors and everything added with addPostProcessor(). More... | |
| void | clearProcessors (void) |
| Clears all processors in pipeline including built-in resampling. User should add at least resampler processor after call. More... | |
| bool | isPushDataAsyncReady (void) |
| Wether this LocalVoiceFramed has capacity for more data buffers to be pushed asynchronously. More... | |
| void | pushDataAsync (const Buffer< T > &buf) |
| Asynchronously push data into this stream. More... | |
| void | pushData (const Buffer< T > &buf) |
| Synchronously push data into this stream. More... | |
Typed re-framing LocalVoice
Consumes data in array buffers of arbitrary length. Repacks them in frames of constant length for further processing and encoding.
| voiceInfo | Outgoing stream parameters. Set applicable fields to read them by encoder and by receiving client when voice created. |
| channelId | Transport channel specific to transport. |
| encoder | Encoder producing the stream. |
| void addPostProcessor | ( | Common::Helpers::SharedPointer< IProcessor< T > > | processor | ) |
Adds the processor that is provided as a parameter after any built-in processors and everything added with addPreProcessor().
| processor |
| void addPreProcessor | ( | Common::Helpers::SharedPointer< IProcessor< T > > | processor | ) |
Adds the processor that is provided as a parameter before the built-in processors and everything added with addPostProcessor().
| processor |
| void clearProcessors | ( | void | ) |
Clears all processors in pipeline including built-in resampling. User should add at least resampler processor after call.
| bool isPushDataAsyncReady | ( | void | ) |
Wether this LocalVoiceFramed has capacity for more data buffers to be pushed asynchronously.
| void pushDataAsync | ( | const Buffer< T > & | buf | ) |
Asynchronously push data into this stream.
| void pushData | ( | const Buffer< T > & | buf | ) |
Synchronously push data into this stream.