| 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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 } | 139 } |
| 140 | 140 |
| 141 int FrameRate(unsigned int* framerate) const override { | 141 int FrameRate(unsigned int* framerate) const override { |
| 142 return sender_.FrameRate(framerate); | 142 return sender_.FrameRate(framerate); |
| 143 } | 143 } |
| 144 | 144 |
| 145 int32_t SetChannelParameters(uint32_t target_bitrate, // bits/s. | 145 int32_t SetChannelParameters(uint32_t target_bitrate, // bits/s. |
| 146 uint8_t lossRate, | 146 uint8_t lossRate, |
| 147 int64_t rtt) override { | 147 int64_t rtt) override { |
| 148 return sender_.SetChannelParameters(target_bitrate, lossRate, rtt, | 148 return sender_.SetChannelParameters(target_bitrate, lossRate, rtt, |
| 149 rate_allocator_.get()); | 149 rate_allocator_.get(), nullptr); |
| 150 } | 150 } |
| 151 | 151 |
| 152 int32_t RegisterProtectionCallback( | 152 int32_t RegisterProtectionCallback( |
| 153 VCMProtectionCallback* protection) override { | 153 VCMProtectionCallback* protection) override { |
| 154 return sender_.RegisterProtectionCallback(protection); | 154 return sender_.RegisterProtectionCallback(protection); |
| 155 } | 155 } |
| 156 | 156 |
| 157 int32_t SetVideoProtection(VCMVideoProtection videoProtection, | 157 int32_t SetVideoProtection(VCMVideoProtection videoProtection, |
| 158 bool enable) override { | 158 bool enable) override { |
| 159 // TODO(pbos): Remove enable from receive-side protection modes as well. | 159 // TODO(pbos): Remove enable from receive-side protection modes as well. |
| (...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 312 EventFactory* event_factory, | 312 EventFactory* event_factory, |
| 313 NackSender* nack_sender, | 313 NackSender* nack_sender, |
| 314 KeyFrameRequestSender* keyframe_request_sender) { | 314 KeyFrameRequestSender* keyframe_request_sender) { |
| 315 assert(clock); | 315 assert(clock); |
| 316 assert(event_factory); | 316 assert(event_factory); |
| 317 return new VideoCodingModuleImpl(clock, event_factory, nack_sender, | 317 return new VideoCodingModuleImpl(clock, event_factory, nack_sender, |
| 318 keyframe_request_sender, nullptr); | 318 keyframe_request_sender, nullptr); |
| 319 } | 319 } |
| 320 | 320 |
| 321 } // namespace webrtc | 321 } // namespace webrtc |
| OLD | NEW |