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

Side by Side Diff: webrtc/call/audio_send_stream.h

Issue 2772773002: Adding cbr support for Opus (Closed)
Patch Set: Created 3 years, 9 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
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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 107
108 bool operator==(const SendCodecSpec& rhs) const; 108 bool operator==(const SendCodecSpec& rhs) const;
109 bool operator!=(const SendCodecSpec& rhs) const { 109 bool operator!=(const SendCodecSpec& rhs) const {
110 return !(*this == rhs); 110 return !(*this == rhs);
111 } 111 }
112 112
113 bool nack_enabled = false; 113 bool nack_enabled = false;
114 bool transport_cc_enabled = false; 114 bool transport_cc_enabled = false;
115 bool enable_codec_fec = false; 115 bool enable_codec_fec = false;
116 bool enable_opus_dtx = false; 116 bool enable_opus_dtx = false;
117 bool enable_opus_cbr = false;
117 int opus_max_playback_rate = 0; 118 int opus_max_playback_rate = 0;
118 int cng_payload_type = -1; 119 int cng_payload_type = -1;
119 int cng_plfreq = -1; 120 int cng_plfreq = -1;
120 int max_ptime_ms = -1; 121 int max_ptime_ms = -1;
121 int min_ptime_ms = -1; 122 int min_ptime_ms = -1;
122 webrtc::CodecInst codec_inst; 123 webrtc::CodecInst codec_inst;
123 } send_codec_spec; 124 } send_codec_spec;
124 }; 125 };
125 126
126 // Starts stream activity. 127 // Starts stream activity.
(...skipping 10 matching lines...) Expand all
137 virtual void SetMuted(bool muted) = 0; 138 virtual void SetMuted(bool muted) = 0;
138 139
139 virtual Stats GetStats() const = 0; 140 virtual Stats GetStats() const = 0;
140 141
141 protected: 142 protected:
142 virtual ~AudioSendStream() {} 143 virtual ~AudioSendStream() {}
143 }; 144 };
144 } // namespace webrtc 145 } // namespace webrtc
145 146
146 #endif // WEBRTC_CALL_AUDIO_SEND_STREAM_H_ 147 #endif // WEBRTC_CALL_AUDIO_SEND_STREAM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698