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

Side by Side Diff: webrtc/media/engine/fakewebrtccall.h

Issue 2793913008: Add PeerConnectionInterface::UpdateCallBitrate. (Closed)
Patch Set: Force update if current bitrate is set. Remove big lambda. Improve parameter validation. Created 3 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) 2015 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2015 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 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 281
282 DeliveryStatus DeliverPacket(webrtc::MediaType media_type, 282 DeliveryStatus DeliverPacket(webrtc::MediaType media_type,
283 const uint8_t* packet, 283 const uint8_t* packet,
284 size_t length, 284 size_t length,
285 const webrtc::PacketTime& packet_time) override; 285 const webrtc::PacketTime& packet_time) override;
286 286
287 webrtc::Call::Stats GetStats() const override; 287 webrtc::Call::Stats GetStats() const override;
288 288
289 void SetBitrateConfig( 289 void SetBitrateConfig(
290 const webrtc::Call::Config::BitrateConfig& bitrate_config) override; 290 const webrtc::Call::Config::BitrateConfig& bitrate_config) override;
291 webrtc::RTCError SetBitrateConfigMask(
292 const webrtc::Call::Config::BitrateConfigMask& mask) override;
291 void OnNetworkRouteChanged(const std::string& transport_name, 293 void OnNetworkRouteChanged(const std::string& transport_name,
292 const rtc::NetworkRoute& network_route) override {} 294 const rtc::NetworkRoute& network_route) override {}
293 void SignalChannelNetworkState(webrtc::MediaType media, 295 void SignalChannelNetworkState(webrtc::MediaType media,
294 webrtc::NetworkState state) override; 296 webrtc::NetworkState state) override;
295 void OnTransportOverheadChanged(webrtc::MediaType media, 297 void OnTransportOverheadChanged(webrtc::MediaType media,
296 int transport_overhead_per_packet) override; 298 int transport_overhead_per_packet) override;
297 void OnSentPacket(const rtc::SentPacket& sent_packet) override; 299 void OnSentPacket(const rtc::SentPacket& sent_packet) override;
298 300
299 webrtc::Call::Config config_; 301 webrtc::Call::Config config_;
300 webrtc::NetworkState audio_network_state_; 302 webrtc::NetworkState audio_network_state_;
(...skipping 10 matching lines...) Expand all
311 313
312 int num_created_send_streams_; 314 int num_created_send_streams_;
313 int num_created_receive_streams_; 315 int num_created_receive_streams_;
314 316
315 int audio_transport_overhead_; 317 int audio_transport_overhead_;
316 int video_transport_overhead_; 318 int video_transport_overhead_;
317 }; 319 };
318 320
319 } // namespace cricket 321 } // namespace cricket
320 #endif // WEBRTC_MEDIA_ENGINE_FAKEWEBRTCCALL_H_ 322 #endif // WEBRTC_MEDIA_ENGINE_FAKEWEBRTCCALL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698