OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 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_ENGINE_STREAM_SYNCHRONIZATION_H_ | 11 #ifndef WEBRTC_VIDEO_ENGINE_STREAM_SYNCHRONIZATION_H_ |
12 #define WEBRTC_VIDEO_ENGINE_STREAM_SYNCHRONIZATION_H_ | 12 #define WEBRTC_VIDEO_ENGINE_STREAM_SYNCHRONIZATION_H_ |
13 | 13 |
14 #include <list> | 14 #include <list> |
15 | 15 |
16 #include "webrtc/system_wrappers/interface/rtp_to_ntp.h" | 16 #include "webrtc/system_wrappers/include/rtp_to_ntp.h" |
17 #include "webrtc/typedefs.h" | 17 #include "webrtc/typedefs.h" |
18 | 18 |
19 namespace webrtc { | 19 namespace webrtc { |
20 | 20 |
21 struct ViESyncDelay; | 21 struct ViESyncDelay; |
22 | 22 |
23 class StreamSynchronization { | 23 class StreamSynchronization { |
24 public: | 24 public: |
25 struct Measurements { | 25 struct Measurements { |
26 Measurements() : rtcp(), latest_receive_time_ms(0), latest_timestamp(0) {} | 26 Measurements() : rtcp(), latest_receive_time_ms(0), latest_timestamp(0) {} |
(...skipping 23 matching lines...) Expand all Loading... |
50 private: | 50 private: |
51 ViESyncDelay* channel_delay_; | 51 ViESyncDelay* channel_delay_; |
52 const uint32_t video_primary_ssrc_; | 52 const uint32_t video_primary_ssrc_; |
53 const int audio_channel_id_; | 53 const int audio_channel_id_; |
54 int base_target_delay_ms_; | 54 int base_target_delay_ms_; |
55 int avg_diff_ms_; | 55 int avg_diff_ms_; |
56 }; | 56 }; |
57 } // namespace webrtc | 57 } // namespace webrtc |
58 | 58 |
59 #endif // WEBRTC_VIDEO_ENGINE_STREAM_SYNCHRONIZATION_H_ | 59 #endif // WEBRTC_VIDEO_ENGINE_STREAM_SYNCHRONIZATION_H_ |
OLD | NEW |