Agora C++ API Reference for All Platforms

Loading...
Searching...
No Matches
Classes | Public Types | Public Member Functions | List of all members
agora::rtc::ILipSyncFilter Class Referenceabstract

`#include <AgoraExtensions.h>`

Inherits agora::RefCountInterface.

## 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

## Additional Inherited Members
Protected Member Functions inherited from agora::RefCountInterface
virtual | ~RefCountInterface ()

## Member Enumeration Documentation

## ◆ ProcessResult

enum agora::rtc::ILipSyncFilter::ProcessResult

Enumerator
kSuccess |
kBypass |
kDrop |

## Member Function Documentation

## ◆ start()

virtual int agora::rtc::ILipSyncFilter::start | ( | agora::agora_refptr< Control > | control | ) |
| pure virtual

## ◆ stop()

virtual int agora::rtc::ILipSyncFilter::stop | ( |  | ) |
| pure virtual

## ◆ setProperty()

virtual int agora::rtc::ILipSyncFilter::setProperty | ( | const char * | key,
|  | const void * | buf,
|  | size_t | buf_size )
| inline virtual

## ◆ convertAudioFrameToFaceInfo()

virtual ProcessResult agora::rtc::ILipSyncFilter::convertAudioFrameToFaceInfo | ( | const agora::media::base::AudioPcmFrame & | inAudioFrame,
|  | char * | outFaceInfo )
| inline 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