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

Side by Side Diff: webrtc/media/base/mediachannel.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/common_types.h ('k') | 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 602 matching lines...) Expand 10 before | Expand all | Expand 10 after
613 speech_expand_rate(0), 613 speech_expand_rate(0),
614 secondary_decoded_rate(0), 614 secondary_decoded_rate(0),
615 accelerate_rate(0), 615 accelerate_rate(0),
616 preemptive_expand_rate(0), 616 preemptive_expand_rate(0),
617 decoding_calls_to_silence_generator(0), 617 decoding_calls_to_silence_generator(0),
618 decoding_calls_to_neteq(0), 618 decoding_calls_to_neteq(0),
619 decoding_normal(0), 619 decoding_normal(0),
620 decoding_plc(0), 620 decoding_plc(0),
621 decoding_cng(0), 621 decoding_cng(0),
622 decoding_plc_cng(0), 622 decoding_plc_cng(0),
623 decoding_muted_output(0),
623 capture_start_ntp_time_ms(-1) {} 624 capture_start_ntp_time_ms(-1) {}
624 625
625 int ext_seqnum; 626 int ext_seqnum;
626 int jitter_ms; 627 int jitter_ms;
627 int jitter_buffer_ms; 628 int jitter_buffer_ms;
628 int jitter_buffer_preferred_ms; 629 int jitter_buffer_preferred_ms;
629 int delay_estimate_ms; 630 int delay_estimate_ms;
630 int audio_level; 631 int audio_level;
631 // fraction of synthesized audio inserted through expansion. 632 // fraction of synthesized audio inserted through expansion.
632 float expand_rate; 633 float expand_rate;
633 // fraction of synthesized speech inserted through expansion. 634 // fraction of synthesized speech inserted through expansion.
634 float speech_expand_rate; 635 float speech_expand_rate;
635 // fraction of data out of secondary decoding, including FEC and RED. 636 // fraction of data out of secondary decoding, including FEC and RED.
636 float secondary_decoded_rate; 637 float secondary_decoded_rate;
637 // Fraction of data removed through time compression. 638 // Fraction of data removed through time compression.
638 float accelerate_rate; 639 float accelerate_rate;
639 // Fraction of data inserted through time stretching. 640 // Fraction of data inserted through time stretching.
640 float preemptive_expand_rate; 641 float preemptive_expand_rate;
641 int decoding_calls_to_silence_generator; 642 int decoding_calls_to_silence_generator;
642 int decoding_calls_to_neteq; 643 int decoding_calls_to_neteq;
643 int decoding_normal; 644 int decoding_normal;
644 int decoding_plc; 645 int decoding_plc;
645 int decoding_cng; 646 int decoding_cng;
646 int decoding_plc_cng; 647 int decoding_plc_cng;
648 int decoding_muted_output;
647 // Estimated capture start time in NTP time in ms. 649 // Estimated capture start time in NTP time in ms.
648 int64_t capture_start_ntp_time_ms; 650 int64_t capture_start_ntp_time_ms;
649 }; 651 };
650 652
651 struct VideoSenderInfo : public MediaSenderInfo { 653 struct VideoSenderInfo : public MediaSenderInfo {
652 VideoSenderInfo() 654 VideoSenderInfo()
653 : packets_cached(0), 655 : packets_cached(0),
654 firs_rcvd(0), 656 firs_rcvd(0),
655 plis_rcvd(0), 657 plis_rcvd(0),
656 nacks_rcvd(0), 658 nacks_rcvd(0),
(...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after
1130 // Signal when the media channel is ready to send the stream. Arguments are: 1132 // Signal when the media channel is ready to send the stream. Arguments are:
1131 // writable(bool) 1133 // writable(bool)
1132 sigslot::signal1<bool> SignalReadyToSend; 1134 sigslot::signal1<bool> SignalReadyToSend;
1133 // Signal for notifying that the remote side has closed the DataChannel. 1135 // Signal for notifying that the remote side has closed the DataChannel.
1134 sigslot::signal1<uint32_t> SignalStreamClosedRemotely; 1136 sigslot::signal1<uint32_t> SignalStreamClosedRemotely;
1135 }; 1137 };
1136 1138
1137 } // namespace cricket 1139 } // namespace cricket
1138 1140
1139 #endif // WEBRTC_MEDIA_BASE_MEDIACHANNEL_H_ 1141 #endif // WEBRTC_MEDIA_BASE_MEDIACHANNEL_H_
OLDNEW
« no previous file with comments | « webrtc/common_types.h ('k') | webrtc/media/engine/webrtcvoiceengine.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698