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

Side by Side Diff: webrtc/audio_receive_stream.h

Issue 1909333002: Switch voice transport to use Call and Stream instead of VoENetwork. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Addressed coments on ps#6 Created 4 years, 7 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 unified diff | Download patch
« no previous file with comments | « webrtc/audio/audio_send_stream_unittest.cc ('k') | webrtc/call/call.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 // Enable feedback for send side bandwidth estimation. 76 // Enable feedback for send side bandwidth estimation.
77 // See 77 // See
78 // https://tools.ietf.org/html/draft-holmer-rmcat-transport-wide-cc-extens ions 78 // https://tools.ietf.org/html/draft-holmer-rmcat-transport-wide-cc-extens ions
79 // for details. 79 // for details.
80 bool transport_cc = false; 80 bool transport_cc = false;
81 81
82 // RTP header extensions used for the received stream. 82 // RTP header extensions used for the received stream.
83 std::vector<RtpExtension> extensions; 83 std::vector<RtpExtension> extensions;
84 } rtp; 84 } rtp;
85 85
86 Transport* receive_transport = nullptr;
87 Transport* rtcp_send_transport = nullptr; 86 Transport* rtcp_send_transport = nullptr;
88 87
89 // Underlying VoiceEngine handle, used to map AudioReceiveStream to lower- 88 // Underlying VoiceEngine handle, used to map AudioReceiveStream to lower-
90 // level components. 89 // level components.
91 // TODO(solenberg): Remove when VoiceEngine channels are created outside 90 // TODO(solenberg): Remove when VoiceEngine channels are created outside
92 // of Call. 91 // of Call.
93 int voe_channel_id = -1; 92 int voe_channel_id = -1;
94 93
95 // Identifier for an A/V synchronization group. Empty string to disable. 94 // Identifier for an A/V synchronization group. Empty string to disable.
96 // TODO(pbos): Synchronize streams in a sync group, not just one video 95 // TODO(pbos): Synchronize streams in a sync group, not just one video
(...skipping 15 matching lines...) Expand all
112 // Only one sink can be set and passing a null sink clears an existing one. 111 // Only one sink can be set and passing a null sink clears an existing one.
113 // NOTE: Audio must still somehow be pulled through AudioTransport for audio 112 // NOTE: Audio must still somehow be pulled through AudioTransport for audio
114 // to stream through this sink. In practice, this happens if mixed audio 113 // to stream through this sink. In practice, this happens if mixed audio
115 // is being pulled+rendered and/or if audio is being pulled for the purposes 114 // is being pulled+rendered and/or if audio is being pulled for the purposes
116 // of feeding to the AEC. 115 // of feeding to the AEC.
117 virtual void SetSink(std::unique_ptr<AudioSinkInterface> sink) = 0; 116 virtual void SetSink(std::unique_ptr<AudioSinkInterface> sink) = 0;
118 }; 117 };
119 } // namespace webrtc 118 } // namespace webrtc
120 119
121 #endif // WEBRTC_AUDIO_RECEIVE_STREAM_H_ 120 #endif // WEBRTC_AUDIO_RECEIVE_STREAM_H_
OLDNEW
« no previous file with comments | « webrtc/audio/audio_send_stream_unittest.cc ('k') | webrtc/call/call.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698