OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2011 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_MODULES_VIDEO_CODING_MAIN_SOURCE_SESSION_INFO_H_ | 11 #ifndef WEBRTC_MODULES_VIDEO_CODING_MAIN_SOURCE_SESSION_INFO_H_ |
12 #define WEBRTC_MODULES_VIDEO_CODING_MAIN_SOURCE_SESSION_INFO_H_ | 12 #define WEBRTC_MODULES_VIDEO_CODING_MAIN_SOURCE_SESSION_INFO_H_ |
13 | 13 |
14 #include <list> | 14 #include <list> |
15 | 15 |
16 #include "webrtc/modules/interface/module_common_types.h" | 16 #include "webrtc/modules/include/module_common_types.h" |
17 #include "webrtc/modules/video_coding/main/interface/video_coding.h" | 17 #include "webrtc/modules/video_coding/main/interface/video_coding.h" |
18 #include "webrtc/modules/video_coding/main/source/packet.h" | 18 #include "webrtc/modules/video_coding/main/source/packet.h" |
19 #include "webrtc/typedefs.h" | 19 #include "webrtc/typedefs.h" |
20 | 20 |
21 namespace webrtc { | 21 namespace webrtc { |
22 // Used to pass data from jitter buffer to session info. | 22 // Used to pass data from jitter buffer to session info. |
23 // This data is then used in determining whether a frame is decodable. | 23 // This data is then used in determining whether a frame is decodable. |
24 struct FrameData { | 24 struct FrameData { |
25 int64_t rtt_ms; | 25 int64_t rtt_ms; |
26 float rolling_average_packets_per_frame; | 26 float rolling_average_packets_per_frame; |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 // They are not necessarily equal to the front and back packets, as packets | 163 // They are not necessarily equal to the front and back packets, as packets |
164 // may enter out of order. | 164 // may enter out of order. |
165 // TODO(mikhal): Refactor the list to use a map. | 165 // TODO(mikhal): Refactor the list to use a map. |
166 int first_packet_seq_num_; | 166 int first_packet_seq_num_; |
167 int last_packet_seq_num_; | 167 int last_packet_seq_num_; |
168 }; | 168 }; |
169 | 169 |
170 } // namespace webrtc | 170 } // namespace webrtc |
171 | 171 |
172 #endif // WEBRTC_MODULES_VIDEO_CODING_MAIN_SOURCE_SESSION_INFO_H_ | 172 #endif // WEBRTC_MODULES_VIDEO_CODING_MAIN_SOURCE_SESSION_INFO_H_ |
OLD | NEW |