| 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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 int FrameRate(unsigned int* framerate) const override { | 127 int FrameRate(unsigned int* framerate) const override { |
| 128 return sender_.FrameRate(framerate); | 128 return sender_.FrameRate(framerate); |
| 129 } | 129 } |
| 130 | 130 |
| 131 int32_t SetChannelParameters(uint32_t target_bitrate, // bits/s. | 131 int32_t SetChannelParameters(uint32_t target_bitrate, // bits/s. |
| 132 uint8_t lossRate, | 132 uint8_t lossRate, |
| 133 int64_t rtt) override { | 133 int64_t rtt) override { |
| 134 return sender_.SetChannelParameters(target_bitrate, lossRate, rtt); | 134 return sender_.SetChannelParameters(target_bitrate, lossRate, rtt); |
| 135 } | 135 } |
| 136 | 136 |
| 137 int32_t RegisterTransportCallback( | |
| 138 VCMPacketizationCallback* transport) override { | |
| 139 return sender_.RegisterTransportCallback(transport); | |
| 140 } | |
| 141 | |
| 142 int32_t RegisterSendStatisticsCallback( | 137 int32_t RegisterSendStatisticsCallback( |
| 143 VCMSendStatisticsCallback* sendStats) override { | 138 VCMSendStatisticsCallback* sendStats) override { |
| 144 return sender_.RegisterSendStatisticsCallback(sendStats); | 139 return sender_.RegisterSendStatisticsCallback(sendStats); |
| 145 } | 140 } |
| 146 | 141 |
| 147 int32_t RegisterProtectionCallback( | 142 int32_t RegisterProtectionCallback( |
| 148 VCMProtectionCallback* protection) override { | 143 VCMProtectionCallback* protection) override { |
| 149 return sender_.RegisterProtectionCallback(protection); | 144 return sender_.RegisterProtectionCallback(protection); |
| 150 } | 145 } |
| 151 | 146 |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 337 NackSender* nack_sender, | 332 NackSender* nack_sender, |
| 338 KeyFrameRequestSender* keyframe_request_sender) { | 333 KeyFrameRequestSender* keyframe_request_sender) { |
| 339 assert(clock); | 334 assert(clock); |
| 340 assert(event_factory); | 335 assert(event_factory); |
| 341 return new VideoCodingModuleImpl(clock, event_factory, false, nullptr, | 336 return new VideoCodingModuleImpl(clock, event_factory, false, nullptr, |
| 342 nullptr, nack_sender, | 337 nullptr, nack_sender, |
| 343 keyframe_request_sender, nullptr); | 338 keyframe_request_sender, nullptr); |
| 344 } | 339 } |
| 345 | 340 |
| 346 } // namespace webrtc | 341 } // namespace webrtc |
| OLD | NEW |