| 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 2369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2380 info.min_playout_delay_ms = stats.min_playout_delay_ms; | 2380 info.min_playout_delay_ms = stats.min_playout_delay_ms; |
| 2381 info.render_delay_ms = stats.render_delay_ms; | 2381 info.render_delay_ms = stats.render_delay_ms; |
| 2382 info.frames_received = stats.frame_counts.key_frames + | 2382 info.frames_received = stats.frame_counts.key_frames + |
| 2383 stats.frame_counts.delta_frames; | 2383 stats.frame_counts.delta_frames; |
| 2384 info.frames_decoded = stats.frames_decoded; | 2384 info.frames_decoded = stats.frames_decoded; |
| 2385 info.frames_rendered = stats.frames_rendered; | 2385 info.frames_rendered = stats.frames_rendered; |
| 2386 info.qp_sum = stats.qp_sum; | 2386 info.qp_sum = stats.qp_sum; |
| 2387 | 2387 |
| 2388 info.interframe_delay_max_ms = stats.interframe_delay_max_ms; | 2388 info.interframe_delay_max_ms = stats.interframe_delay_max_ms; |
| 2389 | 2389 |
| 2390 info.content_type = stats.content_type; |
| 2391 |
| 2390 info.codec_name = GetCodecNameFromPayloadType(stats.current_payload_type); | 2392 info.codec_name = GetCodecNameFromPayloadType(stats.current_payload_type); |
| 2391 | 2393 |
| 2392 info.firs_sent = stats.rtcp_packet_type_counts.fir_packets; | 2394 info.firs_sent = stats.rtcp_packet_type_counts.fir_packets; |
| 2393 info.plis_sent = stats.rtcp_packet_type_counts.pli_packets; | 2395 info.plis_sent = stats.rtcp_packet_type_counts.pli_packets; |
| 2394 info.nacks_sent = stats.rtcp_packet_type_counts.nack_packets; | 2396 info.nacks_sent = stats.rtcp_packet_type_counts.nack_packets; |
| 2395 | 2397 |
| 2396 info.timing_frame_info = stats.timing_frame_info; | 2398 info.timing_frame_info = stats.timing_frame_info; |
| 2397 | 2399 |
| 2398 if (log_stats) | 2400 if (log_stats) |
| 2399 LOG(LS_INFO) << stats.ToString(rtc::TimeMillis()); | 2401 LOG(LS_INFO) << stats.ToString(rtc::TimeMillis()); |
| (...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2572 stream.temporal_layer_thresholds_bps.resize(GetDefaultVp9TemporalLayers() - | 2574 stream.temporal_layer_thresholds_bps.resize(GetDefaultVp9TemporalLayers() - |
| 2573 1); | 2575 1); |
| 2574 } | 2576 } |
| 2575 | 2577 |
| 2576 std::vector<webrtc::VideoStream> streams; | 2578 std::vector<webrtc::VideoStream> streams; |
| 2577 streams.push_back(stream); | 2579 streams.push_back(stream); |
| 2578 return streams; | 2580 return streams; |
| 2579 } | 2581 } |
| 2580 | 2582 |
| 2581 } // namespace cricket | 2583 } // namespace cricket |
| OLD | NEW |