OLD | NEW |
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 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
281 SendCodecSpec() { | 281 SendCodecSpec() { |
282 webrtc::CodecInst empty_inst = {0}; | 282 webrtc::CodecInst empty_inst = {0}; |
283 codec_inst = empty_inst; | 283 codec_inst = empty_inst; |
284 codec_inst.pltype = -1; | 284 codec_inst.pltype = -1; |
285 } | 285 } |
286 bool nack_enabled = false; | 286 bool nack_enabled = false; |
287 bool transport_cc_enabled = false; | 287 bool transport_cc_enabled = false; |
288 bool enable_codec_fec = false; | 288 bool enable_codec_fec = false; |
289 bool enable_opus_dtx = false; | 289 bool enable_opus_dtx = false; |
290 int opus_max_playback_rate = 0; | 290 int opus_max_playback_rate = 0; |
291 int red_payload_type = -1; | |
292 int cng_payload_type = -1; | 291 int cng_payload_type = -1; |
293 int cng_plfreq = -1; | 292 int cng_plfreq = -1; |
294 webrtc::CodecInst codec_inst; | 293 webrtc::CodecInst codec_inst; |
295 } send_codec_spec_; | 294 } send_codec_spec_; |
296 | 295 |
297 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(WebRtcVoiceMediaChannel); | 296 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(WebRtcVoiceMediaChannel); |
298 }; | 297 }; |
299 } // namespace cricket | 298 } // namespace cricket |
300 | 299 |
301 #endif // WEBRTC_MEDIA_ENGINE_WEBRTCVOICEENGINE_H_ | 300 #endif // WEBRTC_MEDIA_ENGINE_WEBRTCVOICEENGINE_H_ |
OLD | NEW |