Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(413)

Unified Diff: webrtc/api/call/audio_send_stream.h

Issue 2397573006: Using AudioOption to enable audio network adaptor. (Closed)
Patch Set: fixing a unittest Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webrtc/api/call/audio_send_stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/api/call/audio_send_stream.h
diff --git a/webrtc/api/call/audio_send_stream.h b/webrtc/api/call/audio_send_stream.h
index 7ff791e62ad307782382b1243429f971733bdb0f..78ab8ec52e6ea32ab7e8f590a16fa67fb5477c94 100644
--- a/webrtc/api/call/audio_send_stream.h
+++ b/webrtc/api/call/audio_send_stream.h
@@ -55,6 +55,7 @@ class AudioSendStream {
struct Config {
Config() = delete;
explicit Config(Transport* send_transport);
+ ~Config();
std::string ToString() const;
// Send-stream specific RTP settings.
@@ -92,6 +93,10 @@ class AudioSendStream {
int min_bitrate_kbps = -1;
int max_bitrate_kbps = -1;
+ // Defines whether to turn on audio network adaptor, and defines its config
+ // string.
+ rtc::Optional<std::string> audio_network_adaptor_config;
+
struct SendCodecSpec {
SendCodecSpec();
std::string ToString() const;
@@ -108,6 +113,8 @@ class AudioSendStream {
int opus_max_playback_rate = 0;
int cng_payload_type = -1;
int cng_plfreq = -1;
+ int max_ptime_ms = -1;
+ int min_ptime_ms = -1;
webrtc::CodecInst codec_inst;
} send_codec_spec;
};
« no previous file with comments | « no previous file | webrtc/api/call/audio_send_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698