OLD | NEW |
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 363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
374 int32_t clockDriftPPM; | 374 int32_t clockDriftPPM; |
375 // average packet waiting time in the jitter buffer (ms) | 375 // average packet waiting time in the jitter buffer (ms) |
376 int meanWaitingTimeMs; | 376 int meanWaitingTimeMs; |
377 // median packet waiting time in the jitter buffer (ms) | 377 // median packet waiting time in the jitter buffer (ms) |
378 int medianWaitingTimeMs; | 378 int medianWaitingTimeMs; |
379 // min packet waiting time in the jitter buffer (ms) | 379 // min packet waiting time in the jitter buffer (ms) |
380 int minWaitingTimeMs; | 380 int minWaitingTimeMs; |
381 // max packet waiting time in the jitter buffer (ms) | 381 // max packet waiting time in the jitter buffer (ms) |
382 int maxWaitingTimeMs; | 382 int maxWaitingTimeMs; |
383 // added samples in off mode due to packet loss | 383 // added samples in off mode due to packet loss |
384 int addedSamples; | 384 size_t addedSamples; |
385 }; | 385 }; |
386 | 386 |
387 // Statistics for calls to AudioCodingModule::PlayoutData10Ms(). | 387 // Statistics for calls to AudioCodingModule::PlayoutData10Ms(). |
388 struct AudioDecodingCallStats { | 388 struct AudioDecodingCallStats { |
389 AudioDecodingCallStats() | 389 AudioDecodingCallStats() |
390 : calls_to_silence_generator(0), | 390 : calls_to_silence_generator(0), |
391 calls_to_neteq(0), | 391 calls_to_neteq(0), |
392 decoded_normal(0), | 392 decoded_normal(0), |
393 decoded_plc(0), | 393 decoded_plc(0), |
394 decoded_cng(0), | 394 decoded_cng(0), |
(...skipping 504 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
899 class StreamDataCountersCallback { | 899 class StreamDataCountersCallback { |
900 public: | 900 public: |
901 virtual ~StreamDataCountersCallback() {} | 901 virtual ~StreamDataCountersCallback() {} |
902 | 902 |
903 virtual void DataCountersUpdated(const StreamDataCounters& counters, | 903 virtual void DataCountersUpdated(const StreamDataCounters& counters, |
904 uint32_t ssrc) = 0; | 904 uint32_t ssrc) = 0; |
905 }; | 905 }; |
906 } // namespace webrtc | 906 } // namespace webrtc |
907 | 907 |
908 #endif // WEBRTC_COMMON_TYPES_H_ | 908 #endif // WEBRTC_COMMON_TYPES_H_ |
OLD | NEW |