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

Side by Side Diff: webrtc/media/base/mediachannel.h

Issue 3011623002: Add new ANA stats to GetStats() to count the number of actions taken by each controller. (Closed)
Patch Set: Added/updated links to issue. Created 3 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
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
11 #ifndef WEBRTC_MEDIA_BASE_MEDIACHANNEL_H_ 11 #ifndef WEBRTC_MEDIA_BASE_MEDIACHANNEL_H_
12 #define WEBRTC_MEDIA_BASE_MEDIACHANNEL_H_ 12 #define WEBRTC_MEDIA_BASE_MEDIACHANNEL_H_
13 13
14 #include <memory> 14 #include <memory>
15 #include <string> 15 #include <string>
16 #include <vector> 16 #include <vector>
17 17
18 #include "webrtc/api/rtpparameters.h" 18 #include "webrtc/api/rtpparameters.h"
19 #include "webrtc/api/rtpreceiverinterface.h" 19 #include "webrtc/api/rtpreceiverinterface.h"
20 #include "webrtc/api/video/video_timing.h" 20 #include "webrtc/api/video/video_timing.h"
21 #include "webrtc/common_types.h"
21 #include "webrtc/config.h" 22 #include "webrtc/config.h"
22 #include "webrtc/media/base/codec.h" 23 #include "webrtc/media/base/codec.h"
23 #include "webrtc/media/base/mediaconstants.h" 24 #include "webrtc/media/base/mediaconstants.h"
24 #include "webrtc/media/base/streamparams.h" 25 #include "webrtc/media/base/streamparams.h"
25 #include "webrtc/media/base/videosinkinterface.h" 26 #include "webrtc/media/base/videosinkinterface.h"
26 #include "webrtc/media/base/videosourceinterface.h" 27 #include "webrtc/media/base/videosourceinterface.h"
27 #include "webrtc/rtc_base/basictypes.h" 28 #include "webrtc/rtc_base/basictypes.h"
28 #include "webrtc/rtc_base/buffer.h" 29 #include "webrtc/rtc_base/buffer.h"
29 #include "webrtc/rtc_base/copyonwritebuffer.h" 30 #include "webrtc/rtc_base/copyonwritebuffer.h"
30 #include "webrtc/rtc_base/dscp.h" 31 #include "webrtc/rtc_base/dscp.h"
(...skipping 603 matching lines...) Expand 10 before | Expand all | Expand 10 after
634 double total_input_energy; 635 double total_input_energy;
635 double total_input_duration; 636 double total_input_duration;
636 float aec_quality_min; 637 float aec_quality_min;
637 int echo_delay_median_ms; 638 int echo_delay_median_ms;
638 int echo_delay_std_ms; 639 int echo_delay_std_ms;
639 int echo_return_loss; 640 int echo_return_loss;
640 int echo_return_loss_enhancement; 641 int echo_return_loss_enhancement;
641 float residual_echo_likelihood; 642 float residual_echo_likelihood;
642 float residual_echo_likelihood_recent_max; 643 float residual_echo_likelihood_recent_max;
643 bool typing_noise_detected; 644 bool typing_noise_detected;
645 webrtc::ANAStats ana_statistics;
644 }; 646 };
645 647
646 struct VoiceReceiverInfo : public MediaReceiverInfo { 648 struct VoiceReceiverInfo : public MediaReceiverInfo {
647 VoiceReceiverInfo() 649 VoiceReceiverInfo()
648 : ext_seqnum(0), 650 : ext_seqnum(0),
649 jitter_ms(0), 651 jitter_ms(0),
650 jitter_buffer_ms(0), 652 jitter_buffer_ms(0),
651 jitter_buffer_preferred_ms(0), 653 jitter_buffer_preferred_ms(0),
652 delay_estimate_ms(0), 654 delay_estimate_ms(0),
653 audio_level(0), 655 audio_level(0),
(...skipping 587 matching lines...) Expand 10 before | Expand all | Expand 10 after
1241 const char*, 1243 const char*,
1242 size_t> SignalDataReceived; 1244 size_t> SignalDataReceived;
1243 // Signal when the media channel is ready to send the stream. Arguments are: 1245 // Signal when the media channel is ready to send the stream. Arguments are:
1244 // writable(bool) 1246 // writable(bool)
1245 sigslot::signal1<bool> SignalReadyToSend; 1247 sigslot::signal1<bool> SignalReadyToSend;
1246 }; 1248 };
1247 1249
1248 } // namespace cricket 1250 } // namespace cricket
1249 1251
1250 #endif // WEBRTC_MEDIA_BASE_MEDIACHANNEL_H_ 1252 #endif // WEBRTC_MEDIA_BASE_MEDIACHANNEL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698