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