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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 } | 145 } |
146 | 146 |
147 int32_t IntraFrameRequest(size_t stream_index) override { | 147 int32_t IntraFrameRequest(size_t stream_index) override { |
148 return sender_.IntraFrameRequest(stream_index); | 148 return sender_.IntraFrameRequest(stream_index); |
149 } | 149 } |
150 | 150 |
151 int32_t EnableFrameDropper(bool enable) override { | 151 int32_t EnableFrameDropper(bool enable) override { |
152 return sender_.EnableFrameDropper(enable); | 152 return sender_.EnableFrameDropper(enable); |
153 } | 153 } |
154 | 154 |
155 void SuspendBelowMinBitrate() override { | |
156 return sender_.SuspendBelowMinBitrate(); | |
157 } | |
158 | |
159 bool VideoSuspended() const override { return sender_.VideoSuspended(); } | |
160 | |
161 int32_t RegisterReceiveCodec(const VideoCodec* receiveCodec, | 155 int32_t RegisterReceiveCodec(const VideoCodec* receiveCodec, |
162 int32_t numberOfCores, | 156 int32_t numberOfCores, |
163 bool requireKeyFrame) override { | 157 bool requireKeyFrame) override { |
164 return receiver_.RegisterReceiveCodec(receiveCodec, numberOfCores, | 158 return receiver_.RegisterReceiveCodec(receiveCodec, numberOfCores, |
165 requireKeyFrame); | 159 requireKeyFrame); |
166 } | 160 } |
167 | 161 |
168 void RegisterExternalDecoder(VideoDecoder* externalDecoder, | 162 void RegisterExternalDecoder(VideoDecoder* externalDecoder, |
169 uint8_t payloadType) override { | 163 uint8_t payloadType) override { |
170 receiver_.RegisterExternalDecoder(externalDecoder, payloadType); | 164 receiver_.RegisterExternalDecoder(externalDecoder, payloadType); |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
310 EventFactory* event_factory, | 304 EventFactory* event_factory, |
311 NackSender* nack_sender, | 305 NackSender* nack_sender, |
312 KeyFrameRequestSender* keyframe_request_sender) { | 306 KeyFrameRequestSender* keyframe_request_sender) { |
313 assert(clock); | 307 assert(clock); |
314 assert(event_factory); | 308 assert(event_factory); |
315 return new VideoCodingModuleImpl(clock, event_factory, nullptr, nack_sender, | 309 return new VideoCodingModuleImpl(clock, event_factory, nullptr, nack_sender, |
316 keyframe_request_sender, nullptr); | 310 keyframe_request_sender, nullptr); |
317 } | 311 } |
318 | 312 |
319 } // namespace webrtc | 313 } // namespace webrtc |
OLD | NEW |