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 415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
426 int calls_to_silence_generator; // Number of calls where silence generated, | 426 int calls_to_silence_generator; // Number of calls where silence generated, |
427 // and NetEq was disengaged from decoding. | 427 // and NetEq was disengaged from decoding. |
428 int calls_to_neteq; // Number of calls to NetEq. | 428 int calls_to_neteq; // Number of calls to NetEq. |
429 int decoded_normal; // Number of calls where audio RTP packet decoded. | 429 int decoded_normal; // Number of calls where audio RTP packet decoded. |
430 int decoded_plc; // Number of calls resulted in PLC. | 430 int decoded_plc; // Number of calls resulted in PLC. |
431 int decoded_cng; // Number of calls where comfort noise generated due to DTX. | 431 int decoded_cng; // Number of calls where comfort noise generated due to DTX. |
432 int decoded_plc_cng; // Number of calls resulted where PLC faded to CNG. | 432 int decoded_plc_cng; // Number of calls resulted where PLC faded to CNG. |
433 int decoded_muted_output; // Number of calls returning a muted state output. | 433 int decoded_muted_output; // Number of calls returning a muted state output. |
434 }; | 434 }; |
435 | 435 |
436 // Statistics related to Audio Network Adaptation. | |
437 struct ANAStats { | |
kwiberg-webrtc
2017/09/08 08:09:49
The struct itself looks good, but is there somepla
kwiberg-webrtc
2017/09/08 08:11:47
Like in audio_encoder.h for example?
ivoc
2017/09/08 08:39:08
That makes sense, I wasn't aware this file is goin
ossu
2017/09/08 09:01:32
Did this struct just move all the way to common_ty
ivoc
2017/09/08 09:16:38
Indeed it did, behold the magic of code reviews :)
| |
438 ANAStats(); | |
439 ANAStats(const ANAStats&); | |
440 ~ANAStats(); | |
441 // Number of actions taken by the ANA bitrate controller since the start of | |
442 // the call. If this value is not set, it indicates that the bitrate | |
443 // controller is disabled. | |
444 rtc::Optional<uint32_t> bitrate_action_counter; | |
445 // Number of actions taken by the ANA channel controller since the start of | |
446 // the call. If this value is not set, it indicates that the channel | |
447 // controller is disabled. | |
448 rtc::Optional<uint32_t> channel_action_counter; | |
449 // Number of actions taken by the ANA DTX controller since the start of the | |
450 // call. If this value is not set, it indicates that the DTX controller is | |
451 // disabled. | |
452 rtc::Optional<uint32_t> dtx_action_counter; | |
453 // Number of actions taken by the ANA FEC controller since the start of the | |
454 // call. If this value is not set, it indicates that the FEC controller is | |
455 // disabled. | |
456 rtc::Optional<uint32_t> fec_action_counter; | |
457 // Number of actions taken by the ANA frame length controller since the start | |
458 // of the call. If this value is not set, it indicates that the frame length | |
459 // controller is disabled. | |
460 rtc::Optional<uint32_t> frame_length_action_counter; | |
461 }; | |
462 | |
436 // ================================================================== | 463 // ================================================================== |
437 // Video specific types | 464 // Video specific types |
438 // ================================================================== | 465 // ================================================================== |
439 | 466 |
440 // TODO(nisse): Delete, and switch to fourcc values everywhere? | 467 // TODO(nisse): Delete, and switch to fourcc values everywhere? |
441 // Supported video types. | 468 // Supported video types. |
442 enum class VideoType { | 469 enum class VideoType { |
443 kUnknown, | 470 kUnknown, |
444 kI420, | 471 kI420, |
445 kIYUV, | 472 kIYUV, |
(...skipping 519 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
965 bool operator==(const RtpKeepAliveConfig& o) const { | 992 bool operator==(const RtpKeepAliveConfig& o) const { |
966 return timeout_interval_ms == o.timeout_interval_ms && | 993 return timeout_interval_ms == o.timeout_interval_ms && |
967 payload_type == o.payload_type; | 994 payload_type == o.payload_type; |
968 } | 995 } |
969 bool operator!=(const RtpKeepAliveConfig& o) const { return !(*this == o); } | 996 bool operator!=(const RtpKeepAliveConfig& o) const { return !(*this == o); } |
970 }; | 997 }; |
971 | 998 |
972 } // namespace webrtc | 999 } // namespace webrtc |
973 | 1000 |
974 #endif // WEBRTC_COMMON_TYPES_H_ | 1001 #endif // WEBRTC_COMMON_TYPES_H_ |
OLD | NEW |