aboutsummaryrefslogtreecommitdiff
path: root/webrtc/audio_send_stream.h
diff options
context:
space:
mode:
authorsolenberg <solenberg@webrtc.org>2015-10-01 08:13:42 -0700
committerCommit bot <commit-bot@chromium.org>2015-10-01 15:13:46 +0000
commitcf18b34cf3bbb1cc2984f8ae3a1c5cebf92b7007 (patch)
tree2b18d7092b06bcbc9cd9c83e0c235ad4d0398af9 /webrtc/audio_send_stream.h
parent8c471e7bdfc3bd420d19af118b2bdf8fd716288e (diff)
downloadwebrtc-cf18b34cf3bbb1cc2984f8ae3a1c5cebf92b7007.tar.gz
Align new VoE API with design.
BUG=webrtc:4690 Review URL: https://codereview.webrtc.org/1376153003 Cr-Commit-Position: refs/heads/master@{#10136}
Diffstat (limited to 'webrtc/audio_send_stream.h')
-rw-r--r--webrtc/audio_send_stream.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/webrtc/audio_send_stream.h b/webrtc/audio_send_stream.h
index 695d28f21e..2fb288f7ab 100644
--- a/webrtc/audio_send_stream.h
+++ b/webrtc/audio_send_stream.h
@@ -48,6 +48,12 @@ class AudioSendStream : public SendStream {
// Transport for outgoing packets.
Transport* send_transport = nullptr;
+ // Underlying VoiceEngine handle, used to map AudioSendStream to lower-level
+ // components.
+ // TODO(solenberg): Remove when VoiceEngine channels are created outside
+ // of Call.
+ int voe_channel_id = -1;
+
rtc::scoped_ptr<AudioEncoder> encoder;
int cng_payload_type = -1; // pt, or -1 to disable Comfort Noise Generator.
int red_payload_type = -1; // pt, or -1 to disable REDundant coding.