Agora Java API Reference for Android

Classes | Public Types | Public Member Functions | List of all members
agora::rtc::ILipSyncFilter Class Referenceabstract
Inheritance diagram for agora::rtc::ILipSyncFilter:

## Classes
class | Control

## Public Types
enum | ProcessResult { kSuccess, kBypass, kDrop }

## Public Member Functions
virtual int | start (agora::agora_refptr< Control > control)=0
virtual int | stop ()=0
virtual int | setProperty (const char *key, const void *buf, size_t buf_size)
virtual ProcessResult | convertAudioFrameToFaceInfo (const agora::media::base::AudioPcmFrame &inAudioFrame, char *outFaceInfo)
Public Member Functions inherited from agora::RefCountInterface
virtual void | AddRef () const =0
virtual RefCountReleaseStatus | Release () const =0
virtual bool | HasOneRef () const =0

## Member Function Documentation

## ◆ convertAudioFrameToFaceInfo()

virtual ProcessResult agora::rtc::ILipSyncFilter::convertAudioFrameToFaceInfo | ( | const agora::media::base::AudioPcmFrame & | inAudioFrame,
|  | char * | outFaceInfo
| ) |  |
| virtual

Convert the audio frame to face info.

Parameters

  inAudioFrame | The reference to the audio frame that you want to convert.
  outFaceInfo | The reference to the face info.

Returns
  see ProcessResult