Chromium Code Reviews| 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.h> | |
| 15 | |
| 14 #include <map> | 16 #include <map> |
| 15 #include <string> | 17 #include <string> |
| 16 #include <vector> | 18 #include <vector> |
| 17 | 19 |
| 18 #include "webrtc/common_types.h" | 20 #include "webrtc/common_types.h" |
| 19 #include "webrtc/config.h" | 21 #include "webrtc/config.h" |
| 20 #include "webrtc/frame_callback.h" | 22 #include "webrtc/frame_callback.h" |
| 21 #include "webrtc/stream.h" | 23 #include "webrtc/stream.h" |
| 22 #include "webrtc/transport.h" | 24 #include "webrtc/transport.h" |
| 23 #include "webrtc/video_renderer.h" | 25 #include "webrtc/video_renderer.h" |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 59 int target_delay_ms = 0; | 61 int target_delay_ms = 0; |
| 60 int jitter_buffer_ms = 0; | 62 int jitter_buffer_ms = 0; |
| 61 int min_playout_delay_ms = 0; | 63 int min_playout_delay_ms = 0; |
| 62 int render_delay_ms = 10; | 64 int render_delay_ms = 10; |
| 63 | 65 |
| 64 int current_payload_type = -1; | 66 int current_payload_type = -1; |
| 65 | 67 |
| 66 int total_bitrate_bps = 0; | 68 int total_bitrate_bps = 0; |
| 67 int discarded_packets = 0; | 69 int discarded_packets = 0; |
| 68 | 70 |
| 71 int sync_offset_ms = INT_MIN; | |
|
stefan-webrtc
2016/03/09 15:59:30
std::numeric_limits<int>::max()
åsapersson
2016/03/10 09:08:35
Done.
stefan-webrtc
2016/03/10 14:25:09
Or min if you wanted that. I didn't see it was MIN
| |
| 72 | |
| 69 uint32_t ssrc = 0; | 73 uint32_t ssrc = 0; |
| 70 std::string c_name; | 74 std::string c_name; |
| 71 StreamDataCounters rtp_stats; | 75 StreamDataCounters rtp_stats; |
| 72 RtcpPacketTypeCounter rtcp_packet_type_counts; | 76 RtcpPacketTypeCounter rtcp_packet_type_counts; |
| 73 RtcpStatistics rtcp_stats; | 77 RtcpStatistics rtcp_stats; |
| 74 }; | 78 }; |
| 75 | 79 |
| 76 struct Config { | 80 struct Config { |
| 77 Config() = delete; | 81 Config() = delete; |
| 78 explicit Config(Transport* rtcp_send_transport) | 82 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; | 173 int target_delay_ms = 0; |
| 170 }; | 174 }; |
| 171 | 175 |
| 172 // TODO(pbos): Add info on currently-received codec to Stats. | 176 // TODO(pbos): Add info on currently-received codec to Stats. |
| 173 virtual Stats GetStats() const = 0; | 177 virtual Stats GetStats() const = 0; |
| 174 }; | 178 }; |
| 175 | 179 |
| 176 } // namespace webrtc | 180 } // namespace webrtc |
| 177 | 181 |
| 178 #endif // WEBRTC_VIDEO_RECEIVE_STREAM_H_ | 182 #endif // WEBRTC_VIDEO_RECEIVE_STREAM_H_ |
| OLD | NEW |