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 |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 if (time_last_intra_request_ms_[index] + kMinKeyFrameRequestIntervalMs > | 56 if (time_last_intra_request_ms_[index] + kMinKeyFrameRequestIntervalMs > |
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 void EncoderRtcpFeedback::OnReceivedSLI(uint32_t ssrc, uint8_t picture_id) { | |
67 RTC_DCHECK(HasSsrc(ssrc)); | |
68 | |
69 vie_encoder_->OnReceivedSLI(picture_id); | |
70 } | |
71 | |
72 void EncoderRtcpFeedback::OnReceivedRPSI(uint32_t ssrc, uint64_t picture_id) { | |
73 RTC_DCHECK(HasSsrc(ssrc)); | |
74 | |
75 vie_encoder_->OnReceivedRPSI(picture_id); | |
76 } | |
77 } // namespace webrtc | 66 } // namespace webrtc |
OLD | NEW |