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 #include "webrtc/video/encoder_rtcp_feedback.h" | 11 #include "webrtc/video/encoder_rtcp_feedback.h" |
12 | 12 |
13 #include "webrtc/base/checks.h" | 13 #include "webrtc/rtc_base/checks.h" |
14 #include "webrtc/video/vie_encoder.h" | 14 #include "webrtc/video/vie_encoder.h" |
15 | 15 |
16 static const int kMinKeyFrameRequestIntervalMs = 300; | 16 static const int kMinKeyFrameRequestIntervalMs = 300; |
17 | 17 |
18 namespace webrtc { | 18 namespace webrtc { |
19 | 19 |
20 EncoderRtcpFeedback::EncoderRtcpFeedback(Clock* clock, | 20 EncoderRtcpFeedback::EncoderRtcpFeedback(Clock* clock, |
21 const std::vector<uint32_t>& ssrcs, | 21 const std::vector<uint32_t>& ssrcs, |
22 ViEEncoder* encoder) | 22 ViEEncoder* encoder) |
23 : clock_(clock), | 23 : clock_(clock), |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 now_ms) { | 57 now_ms) { |
58 return; | 58 return; |
59 } | 59 } |
60 time_last_intra_request_ms_[index] = now_ms; | 60 time_last_intra_request_ms_[index] = now_ms; |
61 } | 61 } |
62 | 62 |
63 vie_encoder_->OnReceivedIntraFrameRequest(index); | 63 vie_encoder_->OnReceivedIntraFrameRequest(index); |
64 } | 64 } |
65 | 65 |
66 } // namespace webrtc | 66 } // namespace webrtc |
OLD | NEW |