| 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 18 matching lines...) Expand all Loading... |
| 29 | 29 |
| 30 class VideoEncoder; | 30 class VideoEncoder; |
| 31 | 31 |
| 32 class VideoSendStream { | 32 class VideoSendStream { |
| 33 public: | 33 public: |
| 34 struct StreamStats { | 34 struct StreamStats { |
| 35 std::string ToString() const; | 35 std::string ToString() const; |
| 36 | 36 |
| 37 FrameCounts frame_counts; | 37 FrameCounts frame_counts; |
| 38 bool is_rtx = false; | 38 bool is_rtx = false; |
| 39 bool is_flexfec = false; |
| 39 int width = 0; | 40 int width = 0; |
| 40 int height = 0; | 41 int height = 0; |
| 41 // TODO(holmer): Move bitrate_bps out to the webrtc::Call layer. | 42 // TODO(holmer): Move bitrate_bps out to the webrtc::Call layer. |
| 42 int total_bitrate_bps = 0; | 43 int total_bitrate_bps = 0; |
| 43 int retransmit_bitrate_bps = 0; | 44 int retransmit_bitrate_bps = 0; |
| 44 int avg_delay_ms = 0; | 45 int avg_delay_ms = 0; |
| 45 int max_delay_ms = 0; | 46 int max_delay_ms = 0; |
| 46 StreamDataCounters rtp_stats; | 47 StreamDataCounters rtp_stats; |
| 47 RtcpPacketTypeCounter rtcp_packet_type_counts; | 48 RtcpPacketTypeCounter rtcp_packet_type_counts; |
| 48 RtcpStatistics rtcp_stats; | 49 RtcpStatistics rtcp_stats; |
| (...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 232 EnableEncodedFrameRecording(std::vector<rtc::PlatformFile>(), 0); | 233 EnableEncodedFrameRecording(std::vector<rtc::PlatformFile>(), 0); |
| 233 } | 234 } |
| 234 | 235 |
| 235 protected: | 236 protected: |
| 236 virtual ~VideoSendStream() {} | 237 virtual ~VideoSendStream() {} |
| 237 }; | 238 }; |
| 238 | 239 |
| 239 } // namespace webrtc | 240 } // namespace webrtc |
| 240 | 241 |
| 241 #endif // WEBRTC_VIDEO_SEND_STREAM_H_ | 242 #endif // WEBRTC_VIDEO_SEND_STREAM_H_ |
| OLD | NEW |