IoT SDK for Linux v1.9.7
Loading...
Searching...
No Matches
rtc_channel_options_t Struct Reference

#include <agora_rtc_api.h>

Data Fields

bool auto_subscribe_audio
bool auto_subscribe_video
bool enable_audio_jitter_buffer
bool enable_audio_mixer
bool enable_audio_decode
bool enable_audio_downlink_aec
bool enable_audio_downlink_aec_pcm_dump
audio_codec_option_t audio_codec_opt
crypto_option_t crypto_opt
bool enable_rdt

Detailed Description

The definition of the rtc_channel_options_t struct.

Field Documentation

◆ audio_codec_opt

audio_codec_option_t audio_codec_opt

Local audio codec settings for PCM audio sent by agora_rtc_send_audio_data. See audio_codec_option_t.

◆ auto_subscribe_audio

bool auto_subscribe_audio

Whether to subscribe to audio.

  • true: Subscribe.
  • false: Do not subscribe.

◆ auto_subscribe_video

bool auto_subscribe_video

Whether to subscribe to video.

  • true: Subscribe.
  • false: Do not subscribe.

◆ crypto_opt

crypto_option_t crypto_opt

Media-stream encryption options. See crypto_option_t.

◆ enable_audio_decode

bool enable_audio_decode

Whether to decode received audio.

  • true: Decode it.
  • false: Do not decode it.

◆ enable_audio_downlink_aec

bool enable_audio_downlink_aec

Whether to enable downlink acoustic echo cancellation.

  • true: Enable it.
  • false: Disable it.

◆ enable_audio_downlink_aec_pcm_dump

bool enable_audio_downlink_aec_pcm_dump

Whether to dump data from the audio processor while downlink acoustic echo cancellation is enabled.

  • true: Dump the data.
  • false: Do not dump the data.

◆ enable_audio_jitter_buffer

bool enable_audio_jitter_buffer

Whether to enable the audio jitter buffer.

  • true: Enable it.
  • false: Disable it.

◆ enable_audio_mixer

bool enable_audio_mixer

Whether to enable audio mixing.

  • true: Enable it.
  • false: Disable it.
Note
Enabling audio mixing also causes the SDK to enable enable_audio_jitter_buffer automatically.

◆ enable_rdt

bool enable_rdt

Whether to enable the RDT transport channel.

  • 0: Disable it.
  • Any other value: Enable it.

The documentation for this struct was generated from the following file: