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

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

Issue 2838233002: Add PeerConnectionInterface::UpdateCallBitrate with call tests. (Closed)
Patch Set: Only update start from SetBitrateConfig when it changes; some comments and logging. 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 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 286
287 DeliveryStatus DeliverPacket(webrtc::MediaType media_type, 287 DeliveryStatus DeliverPacket(webrtc::MediaType media_type,
288 const uint8_t* packet, 288 const uint8_t* packet,
289 size_t length, 289 size_t length,
290 const webrtc::PacketTime& packet_time) override; 290 const webrtc::PacketTime& packet_time) override;
291 291
292 webrtc::Call::Stats GetStats() const override; 292 webrtc::Call::Stats GetStats() const override;
293 293
294 void SetBitrateConfig( 294 void SetBitrateConfig(
295 const webrtc::Call::Config::BitrateConfig& bitrate_config) override; 295 const webrtc::Call::Config::BitrateConfig& bitrate_config) override;
296 void SetBitrateConfigMask(
297 const webrtc::Call::Config::BitrateConfigMask& mask) override;
296 void OnNetworkRouteChanged(const std::string& transport_name, 298 void OnNetworkRouteChanged(const std::string& transport_name,
297 const rtc::NetworkRoute& network_route) override {} 299 const rtc::NetworkRoute& network_route) override {}
298 void SignalChannelNetworkState(webrtc::MediaType media, 300 void SignalChannelNetworkState(webrtc::MediaType media,
299 webrtc::NetworkState state) override; 301 webrtc::NetworkState state) override;
300 void OnTransportOverheadChanged(webrtc::MediaType media, 302 void OnTransportOverheadChanged(webrtc::MediaType media,
301 int transport_overhead_per_packet) override; 303 int transport_overhead_per_packet) override;
302 void OnSentPacket(const rtc::SentPacket& sent_packet) override; 304 void OnSentPacket(const rtc::SentPacket& sent_packet) override;
303 305
304 webrtc::Call::Config config_; 306 webrtc::Call::Config config_;
305 webrtc::NetworkState audio_network_state_; 307 webrtc::NetworkState audio_network_state_;
(...skipping 10 matching lines...) Expand all
316 318
317 int num_created_send_streams_; 319 int num_created_send_streams_;
318 int num_created_receive_streams_; 320 int num_created_receive_streams_;
319 321
320 int audio_transport_overhead_; 322 int audio_transport_overhead_;
321 int video_transport_overhead_; 323 int video_transport_overhead_;
322 }; 324 };
323 325
324 } // namespace cricket 326 } // namespace cricket
325 #endif // WEBRTC_MEDIA_ENGINE_FAKEWEBRTCCALL_H_ 327 #endif // WEBRTC_MEDIA_ENGINE_FAKEWEBRTCCALL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698