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

Side by Side Diff: webrtc/media/engine/webrtcvoiceengine.h

Issue 2780783004: Fix issue with conflicting behavior if setting a max BW with b=AS on both audio and video. (Closed)
Patch Set: Created 3 years, 8 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 | « no previous file | webrtc/media/engine/webrtcvoiceengine.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) 2004 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2004 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 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 int max_send_bitrate_bps_ = 0; 253 int max_send_bitrate_bps_ = 0;
254 AudioOptions options_; 254 AudioOptions options_;
255 rtc::Optional<int> dtmf_payload_type_; 255 rtc::Optional<int> dtmf_payload_type_;
256 int dtmf_payload_freq_ = -1; 256 int dtmf_payload_freq_ = -1;
257 bool recv_transport_cc_enabled_ = false; 257 bool recv_transport_cc_enabled_ = false;
258 bool recv_nack_enabled_ = false; 258 bool recv_nack_enabled_ = false;
259 bool desired_playout_ = false; 259 bool desired_playout_ = false;
260 bool playout_ = false; 260 bool playout_ = false;
261 bool send_ = false; 261 bool send_ = false;
262 webrtc::Call* const call_ = nullptr; 262 webrtc::Call* const call_ = nullptr;
263 webrtc::Call::Config::BitrateConfig bitrate_config_;
264 263
265 // SSRC of unsignalled receive stream, or -1 if there isn't one. 264 // SSRC of unsignalled receive stream, or -1 if there isn't one.
266 int64_t default_recv_ssrc_ = -1; 265 int64_t default_recv_ssrc_ = -1;
267 // Volume for unsignalled stream, which may be set before the stream exists. 266 // Volume for unsignalled stream, which may be set before the stream exists.
268 double default_recv_volume_ = 1.0; 267 double default_recv_volume_ = 1.0;
269 // Sink for unsignalled stream, which may be set before the stream exists. 268 // Sink for unsignalled stream, which may be set before the stream exists.
270 std::unique_ptr<webrtc::AudioSinkInterface> default_sink_; 269 std::unique_ptr<webrtc::AudioSinkInterface> default_sink_;
271 // Default SSRC to use for RTCP receiver reports in case of no signaled 270 // Default SSRC to use for RTCP receiver reports in case of no signaled
272 // send streams. See: https://code.google.com/p/webrtc/issues/detail?id=4740 271 // send streams. See: https://code.google.com/p/webrtc/issues/detail?id=4740
273 // and https://code.google.com/p/chromium/issues/detail?id=547661 272 // and https://code.google.com/p/chromium/issues/detail?id=547661
274 uint32_t receiver_reports_ssrc_ = 0xFA17FA17u; 273 uint32_t receiver_reports_ssrc_ = 0xFA17FA17u;
275 274
276 class WebRtcAudioSendStream; 275 class WebRtcAudioSendStream;
277 std::map<uint32_t, WebRtcAudioSendStream*> send_streams_; 276 std::map<uint32_t, WebRtcAudioSendStream*> send_streams_;
278 std::vector<webrtc::RtpExtension> send_rtp_extensions_; 277 std::vector<webrtc::RtpExtension> send_rtp_extensions_;
279 278
280 class WebRtcAudioReceiveStream; 279 class WebRtcAudioReceiveStream;
281 std::map<uint32_t, WebRtcAudioReceiveStream*> recv_streams_; 280 std::map<uint32_t, WebRtcAudioReceiveStream*> recv_streams_;
282 std::vector<webrtc::RtpExtension> recv_rtp_extensions_; 281 std::vector<webrtc::RtpExtension> recv_rtp_extensions_;
283 282
284 webrtc::AudioSendStream::Config::SendCodecSpec send_codec_spec_; 283 webrtc::AudioSendStream::Config::SendCodecSpec send_codec_spec_;
285 284
286 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(WebRtcVoiceMediaChannel); 285 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(WebRtcVoiceMediaChannel);
287 }; 286 };
288 } // namespace cricket 287 } // namespace cricket
289 288
290 #endif // WEBRTC_MEDIA_ENGINE_WEBRTCVOICEENGINE_H_ 289 #endif // WEBRTC_MEDIA_ENGINE_WEBRTCVOICEENGINE_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/media/engine/webrtcvoiceengine.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698