OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2014 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 2459 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2470 info.target_delay_ms = stats.target_delay_ms; | 2470 info.target_delay_ms = stats.target_delay_ms; |
2471 info.jitter_buffer_ms = stats.jitter_buffer_ms; | 2471 info.jitter_buffer_ms = stats.jitter_buffer_ms; |
2472 info.min_playout_delay_ms = stats.min_playout_delay_ms; | 2472 info.min_playout_delay_ms = stats.min_playout_delay_ms; |
2473 info.render_delay_ms = stats.render_delay_ms; | 2473 info.render_delay_ms = stats.render_delay_ms; |
2474 info.frames_received = stats.frame_counts.key_frames + | 2474 info.frames_received = stats.frame_counts.key_frames + |
2475 stats.frame_counts.delta_frames; | 2475 stats.frame_counts.delta_frames; |
2476 info.frames_decoded = stats.frames_decoded; | 2476 info.frames_decoded = stats.frames_decoded; |
2477 info.frames_rendered = stats.frames_rendered; | 2477 info.frames_rendered = stats.frames_rendered; |
2478 info.qp_sum = stats.qp_sum; | 2478 info.qp_sum = stats.qp_sum; |
2479 | 2479 |
| 2480 info.interframe_delay_sum_ms = stats.interframe_delay_sum_ms; |
| 2481 |
2480 info.codec_name = GetCodecNameFromPayloadType(stats.current_payload_type); | 2482 info.codec_name = GetCodecNameFromPayloadType(stats.current_payload_type); |
2481 | 2483 |
2482 info.firs_sent = stats.rtcp_packet_type_counts.fir_packets; | 2484 info.firs_sent = stats.rtcp_packet_type_counts.fir_packets; |
2483 info.plis_sent = stats.rtcp_packet_type_counts.pli_packets; | 2485 info.plis_sent = stats.rtcp_packet_type_counts.pli_packets; |
2484 info.nacks_sent = stats.rtcp_packet_type_counts.nack_packets; | 2486 info.nacks_sent = stats.rtcp_packet_type_counts.nack_packets; |
2485 | 2487 |
2486 info.timing_frame_info = stream_->GetAndResetTimingFrameInfo(); | 2488 info.timing_frame_info = stream_->GetAndResetTimingFrameInfo(); |
2487 | 2489 |
2488 if (log_stats) | 2490 if (log_stats) |
2489 LOG(LS_INFO) << stats.ToString(rtc::TimeMillis()); | 2491 LOG(LS_INFO) << stats.ToString(rtc::TimeMillis()); |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2662 stream.temporal_layer_thresholds_bps.resize(GetDefaultVp9TemporalLayers() - | 2664 stream.temporal_layer_thresholds_bps.resize(GetDefaultVp9TemporalLayers() - |
2663 1); | 2665 1); |
2664 } | 2666 } |
2665 | 2667 |
2666 std::vector<webrtc::VideoStream> streams; | 2668 std::vector<webrtc::VideoStream> streams; |
2667 streams.push_back(stream); | 2669 streams.push_back(stream); |
2668 return streams; | 2670 return streams; |
2669 } | 2671 } |
2670 | 2672 |
2671 } // namespace cricket | 2673 } // namespace cricket |
OLD | NEW |