| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2013 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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 int current_payload_type = -1; | 72 int current_payload_type = -1; |
| 73 | 73 |
| 74 int total_bitrate_bps = 0; | 74 int total_bitrate_bps = 0; |
| 75 int discarded_packets = 0; | 75 int discarded_packets = 0; |
| 76 | 76 |
| 77 uint32_t ssrc = 0; | 77 uint32_t ssrc = 0; |
| 78 std::string c_name; | 78 std::string c_name; |
| 79 StreamDataCounters rtp_stats; | 79 StreamDataCounters rtp_stats; |
| 80 RtcpPacketTypeCounter rtcp_packet_type_counts; | 80 RtcpPacketTypeCounter rtcp_packet_type_counts; |
| 81 RtcpStatistics rtcp_stats; | 81 RtcpStatistics rtcp_stats; |
| 82 |
| 83 int qp = -1; // Average codec quantizer value (range: 0-127 for VP8). |
| 82 }; | 84 }; |
| 83 | 85 |
| 84 struct Config { | 86 struct Config { |
| 85 Config() = delete; | 87 Config() = delete; |
| 86 explicit Config(Transport* rtcp_send_transport) | 88 explicit Config(Transport* rtcp_send_transport) |
| 87 : rtcp_send_transport(rtcp_send_transport) {} | 89 : rtcp_send_transport(rtcp_send_transport) {} |
| 88 | 90 |
| 89 std::string ToString() const; | 91 std::string ToString() const; |
| 90 | 92 |
| 91 // Decoders for every payload that we can receive. | 93 // Decoders for every payload that we can receive. |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 int target_delay_ms = 0; | 176 int target_delay_ms = 0; |
| 175 }; | 177 }; |
| 176 | 178 |
| 177 // TODO(pbos): Add info on currently-received codec to Stats. | 179 // TODO(pbos): Add info on currently-received codec to Stats. |
| 178 virtual Stats GetStats() const = 0; | 180 virtual Stats GetStats() const = 0; |
| 179 }; | 181 }; |
| 180 | 182 |
| 181 } // namespace webrtc | 183 } // namespace webrtc |
| 182 | 184 |
| 183 #endif // WEBRTC_VIDEO_RECEIVE_STREAM_H_ | 185 #endif // WEBRTC_VIDEO_RECEIVE_STREAM_H_ |
| OLD | NEW |