API reference
API reference
Select your platform
No SDKs available
No versions available

OVR_VoipEncoder.h File

This is a custom encoder for voice over internet protocol (VoIP) data. A VoIP session can be established by ovr_Voip_Start(). It provides a way to encode PCM data into compressed VoIP data.

Typedefs

struct ovrVoipEncoder * ovrVoipEncoderHandle

Functions

This class is responsible for adding PCM (Pulse Code Modulation) data to the encoder. This method takes in the PCM data and adds it to the internal buffer of the encoder.
This method retrieves the compressed data from the encoder. This method returns the actual compressed data, which can then be transmitted or stored.
This method returns the size of the compressed VoIP data that will be generated by the encoder. This method can be used to determine the amount of memory needed to store the compressed data.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon