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 |
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/audio_codecs/audio_encoder.h" |
18 #include "webrtc/api/optional.h" | 19 #include "webrtc/api/optional.h" |
19 #include "webrtc/api/rtpparameters.h" | 20 #include "webrtc/api/rtpparameters.h" |
20 #include "webrtc/api/rtpreceiverinterface.h" | 21 #include "webrtc/api/rtpreceiverinterface.h" |
21 #include "webrtc/api/video/video_timing.h" | 22 #include "webrtc/api/video/video_timing.h" |
22 #include "webrtc/call/video_config.h" | 23 #include "webrtc/call/video_config.h" |
23 #include "webrtc/media/base/codec.h" | 24 #include "webrtc/media/base/codec.h" |
24 #include "webrtc/media/base/mediaconstants.h" | 25 #include "webrtc/media/base/mediaconstants.h" |
25 #include "webrtc/media/base/streamparams.h" | 26 #include "webrtc/media/base/streamparams.h" |
26 #include "webrtc/media/base/videosinkinterface.h" | 27 #include "webrtc/media/base/videosinkinterface.h" |
27 #include "webrtc/media/base/videosourceinterface.h" | 28 #include "webrtc/media/base/videosourceinterface.h" |
(...skipping 606 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 592 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1246 const char*, | 1248 const char*, |
1247 size_t> SignalDataReceived; | 1249 size_t> SignalDataReceived; |
1248 // Signal when the media channel is ready to send the stream. Arguments are: | 1250 // Signal when the media channel is ready to send the stream. Arguments are: |
1249 // writable(bool) | 1251 // writable(bool) |
1250 sigslot::signal1<bool> SignalReadyToSend; | 1252 sigslot::signal1<bool> SignalReadyToSend; |
1251 }; | 1253 }; |
1252 | 1254 |
1253 } // namespace cricket | 1255 } // namespace cricket |
1254 | 1256 |
1255 #endif // WEBRTC_MEDIA_BASE_MEDIACHANNEL_H_ | 1257 #endif // WEBRTC_MEDIA_BASE_MEDIACHANNEL_H_ |
OLD | NEW |