| 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 |
| 11 #ifndef WEBRTC_VIDEO_RECEIVE_STREAM_H_ | 11 #ifndef WEBRTC_VIDEO_RECEIVE_STREAM_H_ |
| 12 #define WEBRTC_VIDEO_RECEIVE_STREAM_H_ | 12 #define WEBRTC_VIDEO_RECEIVE_STREAM_H_ |
| 13 | 13 |
| 14 #include <limits> |
| 14 #include <map> | 15 #include <map> |
| 15 #include <string> | 16 #include <string> |
| 16 #include <vector> | 17 #include <vector> |
| 17 | 18 |
| 18 #include "webrtc/common_types.h" | 19 #include "webrtc/common_types.h" |
| 19 #include "webrtc/config.h" | 20 #include "webrtc/config.h" |
| 20 #include "webrtc/frame_callback.h" | 21 #include "webrtc/frame_callback.h" |
| 21 #include "webrtc/stream.h" | 22 #include "webrtc/stream.h" |
| 22 #include "webrtc/transport.h" | 23 #include "webrtc/transport.h" |
| 23 #include "webrtc/video_renderer.h" | 24 #include "webrtc/video_renderer.h" |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 int target_delay_ms = 0; | 60 int target_delay_ms = 0; |
| 60 int jitter_buffer_ms = 0; | 61 int jitter_buffer_ms = 0; |
| 61 int min_playout_delay_ms = 0; | 62 int min_playout_delay_ms = 0; |
| 62 int render_delay_ms = 10; | 63 int render_delay_ms = 10; |
| 63 | 64 |
| 64 int current_payload_type = -1; | 65 int current_payload_type = -1; |
| 65 | 66 |
| 66 int total_bitrate_bps = 0; | 67 int total_bitrate_bps = 0; |
| 67 int discarded_packets = 0; | 68 int discarded_packets = 0; |
| 68 | 69 |
| 70 int sync_offset_ms = std::numeric_limits<int>::max(); |
| 71 |
| 69 uint32_t ssrc = 0; | 72 uint32_t ssrc = 0; |
| 70 std::string c_name; | 73 std::string c_name; |
| 71 StreamDataCounters rtp_stats; | 74 StreamDataCounters rtp_stats; |
| 72 RtcpPacketTypeCounter rtcp_packet_type_counts; | 75 RtcpPacketTypeCounter rtcp_packet_type_counts; |
| 73 RtcpStatistics rtcp_stats; | 76 RtcpStatistics rtcp_stats; |
| 74 }; | 77 }; |
| 75 | 78 |
| 76 struct Config { | 79 struct Config { |
| 77 Config() = delete; | 80 Config() = delete; |
| 78 explicit Config(Transport* rtcp_send_transport) | 81 explicit Config(Transport* rtcp_send_transport) |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 int target_delay_ms = 0; | 172 int target_delay_ms = 0; |
| 170 }; | 173 }; |
| 171 | 174 |
| 172 // TODO(pbos): Add info on currently-received codec to Stats. | 175 // TODO(pbos): Add info on currently-received codec to Stats. |
| 173 virtual Stats GetStats() const = 0; | 176 virtual Stats GetStats() const = 0; |
| 174 }; | 177 }; |
| 175 | 178 |
| 176 } // namespace webrtc | 179 } // namespace webrtc |
| 177 | 180 |
| 178 #endif // WEBRTC_VIDEO_RECEIVE_STREAM_H_ | 181 #endif // WEBRTC_VIDEO_RECEIVE_STREAM_H_ |
| OLD | NEW |