OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2016 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_RTP_RTCP_SOURCE_PLAYOUT_DELAY_ORACLE_H_ | 11 #ifndef WEBRTC_MODULES_RTP_RTCP_SOURCE_PLAYOUT_DELAY_ORACLE_H_ |
12 #define WEBRTC_MODULES_RTP_RTCP_SOURCE_PLAYOUT_DELAY_ORACLE_H_ | 12 #define WEBRTC_MODULES_RTP_RTCP_SOURCE_PLAYOUT_DELAY_ORACLE_H_ |
13 | 13 |
14 #include <stdint.h> | 14 #include "webrtc/base/basictypes.h" |
15 | |
16 #include "webrtc/base/criticalsection.h" | 15 #include "webrtc/base/criticalsection.h" |
17 #include "webrtc/base/thread_annotations.h" | 16 #include "webrtc/base/thread_annotations.h" |
18 #include "webrtc/modules/include/module_common_types.h" | 17 #include "webrtc/modules/include/module_common_types.h" |
19 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" | 18 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" |
20 | 19 |
21 namespace webrtc { | 20 namespace webrtc { |
22 | 21 |
23 // This class tracks the application requests to limit minimum and maximum | 22 // This class tracks the application requests to limit minimum and maximum |
24 // playout delay and makes a decision on whether the current RTP frame | 23 // playout delay and makes a decision on whether the current RTP frame |
25 // should include the playout out delay extension header. | 24 // should include the playout out delay extension header. |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 SequenceNumberUnwrapper unwrapper_ GUARDED_BY(crit_sect_); | 71 SequenceNumberUnwrapper unwrapper_ GUARDED_BY(crit_sect_); |
73 // Playout delay values on the next frame if |send_playout_delay_| is set. | 72 // Playout delay values on the next frame if |send_playout_delay_| is set. |
74 PlayoutDelay playout_delay_ GUARDED_BY(crit_sect_); | 73 PlayoutDelay playout_delay_ GUARDED_BY(crit_sect_); |
75 | 74 |
76 RTC_DISALLOW_COPY_AND_ASSIGN(PlayoutDelayOracle); | 75 RTC_DISALLOW_COPY_AND_ASSIGN(PlayoutDelayOracle); |
77 }; | 76 }; |
78 | 77 |
79 } // namespace webrtc | 78 } // namespace webrtc |
80 | 79 |
81 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_PLAYOUT_DELAY_ORACLE_H_ | 80 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_PLAYOUT_DELAY_ORACLE_H_ |
OLD | NEW |