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

Side by Side Diff: webrtc/common_types.h

Issue 2341293002: Add new decoding statistics for muted output (Closed)
Patch Set: Updates after reviews Created 4 years, 3 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_receive_stream_unittest.cc ('k') | webrtc/media/base/mediachannel.h » ('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) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 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 367 matching lines...) Expand 10 before | Expand all | Expand 10 after
378 }; 378 };
379 379
380 // Statistics for calls to AudioCodingModule::PlayoutData10Ms(). 380 // Statistics for calls to AudioCodingModule::PlayoutData10Ms().
381 struct AudioDecodingCallStats { 381 struct AudioDecodingCallStats {
382 AudioDecodingCallStats() 382 AudioDecodingCallStats()
383 : calls_to_silence_generator(0), 383 : calls_to_silence_generator(0),
384 calls_to_neteq(0), 384 calls_to_neteq(0),
385 decoded_normal(0), 385 decoded_normal(0),
386 decoded_plc(0), 386 decoded_plc(0),
387 decoded_cng(0), 387 decoded_cng(0),
388 decoded_plc_cng(0) {} 388 decoded_plc_cng(0),
389 decoded_muted_output(0) {}
389 390
390 int calls_to_silence_generator; // Number of calls where silence generated, 391 int calls_to_silence_generator; // Number of calls where silence generated,
391 // and NetEq was disengaged from decoding. 392 // and NetEq was disengaged from decoding.
392 int calls_to_neteq; // Number of calls to NetEq. 393 int calls_to_neteq; // Number of calls to NetEq.
393 int decoded_normal; // Number of calls where audio RTP packet decoded. 394 int decoded_normal; // Number of calls where audio RTP packet decoded.
394 int decoded_plc; // Number of calls resulted in PLC. 395 int decoded_plc; // Number of calls resulted in PLC.
395 int decoded_cng; // Number of calls where comfort noise generated due to DTX. 396 int decoded_cng; // Number of calls where comfort noise generated due to DTX.
396 int decoded_plc_cng; // Number of calls resulted where PLC faded to CNG. 397 int decoded_plc_cng; // Number of calls resulted where PLC faded to CNG.
398 int decoded_muted_output; // Number of calls returning a muted state output.
397 }; 399 };
398 400
399 // Type of Noise Suppression. 401 // Type of Noise Suppression.
400 enum NsModes { 402 enum NsModes {
401 kNsUnchanged = 0, // previously set mode 403 kNsUnchanged = 0, // previously set mode
402 kNsDefault, // platform default 404 kNsDefault, // platform default
403 kNsConference, // conferencing default 405 kNsConference, // conferencing default
404 kNsLowSuppression, // lowest suppression 406 kNsLowSuppression, // lowest suppression
405 kNsModerateSuppression, 407 kNsModerateSuppression,
406 kNsHighSuppression, 408 kNsHighSuppression,
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after
819 enum class RtcpMode { kOff, kCompound, kReducedSize }; 821 enum class RtcpMode { kOff, kCompound, kReducedSize };
820 822
821 enum NetworkState { 823 enum NetworkState {
822 kNetworkUp, 824 kNetworkUp,
823 kNetworkDown, 825 kNetworkDown,
824 }; 826 };
825 827
826 } // namespace webrtc 828 } // namespace webrtc
827 829
828 #endif // WEBRTC_COMMON_TYPES_H_ 830 #endif // WEBRTC_COMMON_TYPES_H_
OLDNEW
« no previous file with comments | « webrtc/audio/audio_receive_stream_unittest.cc ('k') | webrtc/media/base/mediachannel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698