123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687 |
- #ifndef API_AUDIO_OPTIONS_H_
- #define API_AUDIO_OPTIONS_H_
- #include <stdint.h>
- #include <string>
- #include "absl/types/optional.h"
- #include "rtc_base/system/rtc_export.h"
- namespace cricket {
- struct RTC_EXPORT AudioOptions {
- AudioOptions();
- ~AudioOptions();
- void SetAll(const AudioOptions& change);
- bool operator==(const AudioOptions& o) const;
- bool operator!=(const AudioOptions& o) const { return !(*this == o); }
- std::string ToString() const;
-
-
- absl::optional<bool> echo_cancellation;
- #if defined(WEBRTC_IOS)
-
-
-
-
- absl::optional<bool> ios_force_software_aec_HACK;
- #endif
-
- absl::optional<bool> auto_gain_control;
-
- absl::optional<bool> noise_suppression;
-
- absl::optional<bool> highpass_filter;
-
- absl::optional<bool> stereo_swapping;
-
- absl::optional<int> audio_jitter_buffer_max_packets;
-
- absl::optional<bool> audio_jitter_buffer_fast_accelerate;
-
- absl::optional<int> audio_jitter_buffer_min_delay_ms;
-
- absl::optional<bool> audio_jitter_buffer_enable_rtx_handling;
-
- absl::optional<bool> typing_detection;
- absl::optional<bool> experimental_agc;
- absl::optional<bool> experimental_ns;
-
- absl::optional<bool> residual_echo_detector;
- absl::optional<uint16_t> tx_agc_target_dbov;
- absl::optional<uint16_t> tx_agc_digital_compression_gain;
- absl::optional<bool> tx_agc_limiter;
-
-
-
-
- absl::optional<bool> combined_audio_video_bwe;
-
-
-
- absl::optional<bool> audio_network_adaptor;
-
- absl::optional<std::string> audio_network_adaptor_config;
- };
- }
- #endif
|