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 2446 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2457 info.target_delay_ms = stats.target_delay_ms; | 2457 info.target_delay_ms = stats.target_delay_ms; |
2458 info.jitter_buffer_ms = stats.jitter_buffer_ms; | 2458 info.jitter_buffer_ms = stats.jitter_buffer_ms; |
2459 info.min_playout_delay_ms = stats.min_playout_delay_ms; | 2459 info.min_playout_delay_ms = stats.min_playout_delay_ms; |
2460 info.render_delay_ms = stats.render_delay_ms; | 2460 info.render_delay_ms = stats.render_delay_ms; |
2461 info.frames_received = stats.frame_counts.key_frames + | 2461 info.frames_received = stats.frame_counts.key_frames + |
2462 stats.frame_counts.delta_frames; | 2462 stats.frame_counts.delta_frames; |
2463 info.frames_decoded = stats.frames_decoded; | 2463 info.frames_decoded = stats.frames_decoded; |
2464 info.frames_rendered = stats.frames_rendered; | 2464 info.frames_rendered = stats.frames_rendered; |
2465 info.qp_sum = stats.qp_sum; | 2465 info.qp_sum = stats.qp_sum; |
2466 | 2466 |
2467 info.interframe_delay_sum_ms = stats.interframe_delay_sum_ms; | 2467 info.interframe_delay_max_ms = stats.interframe_delay_max_ms; |
2468 | 2468 |
2469 info.codec_name = GetCodecNameFromPayloadType(stats.current_payload_type); | 2469 info.codec_name = GetCodecNameFromPayloadType(stats.current_payload_type); |
2470 | 2470 |
2471 info.firs_sent = stats.rtcp_packet_type_counts.fir_packets; | 2471 info.firs_sent = stats.rtcp_packet_type_counts.fir_packets; |
2472 info.plis_sent = stats.rtcp_packet_type_counts.pli_packets; | 2472 info.plis_sent = stats.rtcp_packet_type_counts.pli_packets; |
2473 info.nacks_sent = stats.rtcp_packet_type_counts.nack_packets; | 2473 info.nacks_sent = stats.rtcp_packet_type_counts.nack_packets; |
2474 | 2474 |
2475 info.timing_frame_info = stream_->GetAndResetTimingFrameInfo(); | 2475 info.timing_frame_info = stream_->GetAndResetTimingFrameInfo(); |
2476 | 2476 |
2477 if (log_stats) | 2477 if (log_stats) |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2651 stream.temporal_layer_thresholds_bps.resize(GetDefaultVp9TemporalLayers() - | 2651 stream.temporal_layer_thresholds_bps.resize(GetDefaultVp9TemporalLayers() - |
2652 1); | 2652 1); |
2653 } | 2653 } |
2654 | 2654 |
2655 std::vector<webrtc::VideoStream> streams; | 2655 std::vector<webrtc::VideoStream> streams; |
2656 streams.push_back(stream); | 2656 streams.push_back(stream); |
2657 return streams; | 2657 return streams; |
2658 } | 2658 } |
2659 | 2659 |
2660 } // namespace cricket | 2660 } // namespace cricket |
OLD | NEW |