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

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

Issue 2838233002: Add PeerConnectionInterface::UpdateCallBitrate with call tests. (Closed)
Patch Set: Style/test coverage feedback. No clamping yet. Created 3 years, 7 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 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 284
285 DeliveryStatus DeliverPacket(webrtc::MediaType media_type, 285 DeliveryStatus DeliverPacket(webrtc::MediaType media_type,
286 const uint8_t* packet, 286 const uint8_t* packet,
287 size_t length, 287 size_t length,
288 const webrtc::PacketTime& packet_time) override; 288 const webrtc::PacketTime& packet_time) override;
289 289
290 webrtc::Call::Stats GetStats() const override; 290 webrtc::Call::Stats GetStats() const override;
291 291
292 void SetBitrateConfig( 292 void SetBitrateConfig(
293 const webrtc::Call::Config::BitrateConfig& bitrate_config) override; 293 const webrtc::Call::Config::BitrateConfig& bitrate_config) override;
294 webrtc::RTCError SetBitrateConfigMask(
295 const webrtc::Call::Config::BitrateConfigMask& mask) override;
294 void OnNetworkRouteChanged(const std::string& transport_name, 296 void OnNetworkRouteChanged(const std::string& transport_name,
295 const rtc::NetworkRoute& network_route) override {} 297 const rtc::NetworkRoute& network_route) override {}
296 void SignalChannelNetworkState(webrtc::MediaType media, 298 void SignalChannelNetworkState(webrtc::MediaType media,
297 webrtc::NetworkState state) override; 299 webrtc::NetworkState state) override;
298 void OnTransportOverheadChanged(webrtc::MediaType media, 300 void OnTransportOverheadChanged(webrtc::MediaType media,
299 int transport_overhead_per_packet) override; 301 int transport_overhead_per_packet) override;
300 void OnSentPacket(const rtc::SentPacket& sent_packet) override; 302 void OnSentPacket(const rtc::SentPacket& sent_packet) override;
301 303
302 webrtc::Call::Config config_; 304 webrtc::Call::Config config_;
303 webrtc::NetworkState audio_network_state_; 305 webrtc::NetworkState audio_network_state_;
(...skipping 10 matching lines...) Expand all
314 316
315 int num_created_send_streams_; 317 int num_created_send_streams_;
316 int num_created_receive_streams_; 318 int num_created_receive_streams_;
317 319
318 int audio_transport_overhead_; 320 int audio_transport_overhead_;
319 int video_transport_overhead_; 321 int video_transport_overhead_;
320 }; 322 };
321 323
322 } // namespace cricket 324 } // namespace cricket
323 #endif // WEBRTC_MEDIA_ENGINE_FAKEWEBRTCCALL_H_ 325 #endif // WEBRTC_MEDIA_ENGINE_FAKEWEBRTCCALL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698