|
Agora RTC Objective-C API Reference
Refactor
|
Data Fields | |
| OPTIONAL_ENUM_SIZE_T | |
| int64_t | capture_timestamp |
| size_t | samples_per_channel_ |
| int | sample_rate_hz_ |
| size_t | num_channels_ |
| int | audio_track_number_ |
| rtc::BYTES_PER_SAMPLE | bytes_per_sample |
| int16_t | data_ [kMaxDataSizeSamples] |
| bool | is_stereo_ |
The detailed information of the incoming audio frame in the PCM format.
|
inline |
|
inline |
|
inline |
| OPTIONAL_ENUM_SIZE_T |
The buffer size of the PCM audio frame.
| int64_t capture_timestamp |
The timestamp (ms) of the audio frame.
| size_t samples_per_channel_ |
The number of samples per channel.
| int sample_rate_hz_ |
The sample rate (Hz) of the audio data.
| size_t num_channels_ |
The channel number.
| int audio_track_number_ |
@technical preview The audio track number. if mpk enableMultiAudioTrack, audio frame will have audio track number, eg 0 or 1.
| rtc::BYTES_PER_SAMPLE bytes_per_sample |
The number of bytes per sample.
| int16_t data_[kMaxDataSizeSamples] |
The audio frame data.
| bool is_stereo_ |
@technical preview data_[kMaxDataSizeSamples] is real stereo data