Agora RTC Objective-C API Reference  Refactor
Data Fields
AudioSinkWants Struct Reference

Data Fields

int samplesPerSec
 
size_t channels
 

Detailed Description

Properties of audio frames expected by a sink.

Note
The source determines the audio frame to be sent to the sink based on a variety of factors, such as other sinks or the capability of the source.

Constructor & Destructor Documentation

◆ AudioSinkWants() [1/2]

AudioSinkWants ( )
inline

◆ AudioSinkWants() [2/2]

AudioSinkWants ( int  sampleRate,
size_t  chs 
)
inline

Field Documentation

◆ samplesPerSec

int samplesPerSec

The sample rate of the audio frame to be sent to the sink.

◆ channels

size_t channels

The number of audio channels of the audio frame to be sent to the sink.