Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(339)

Side by Side Diff: webrtc/modules/video_coding/video_coding_impl.cc

Issue 1900193004: Remove VCMPacketizationCallback (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698