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

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

Issue 2437503004: Set actual transport overhead in rtp_rtcp (Closed)
Patch Set: Rename SignalTransportOverheadChanged to UpdateTransportOverhead. Created 4 years, 1 month 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
« no previous file with comments | « webrtc/media/base/rtpdataengine.h ('k') | webrtc/media/engine/fakewebrtccall.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 const webrtc::PacketTime& packet_time) override; 255 const webrtc::PacketTime& packet_time) override;
256 256
257 webrtc::Call::Stats GetStats() const override; 257 webrtc::Call::Stats GetStats() const override;
258 258
259 void SetBitrateConfig( 259 void SetBitrateConfig(
260 const webrtc::Call::Config::BitrateConfig& bitrate_config) override; 260 const webrtc::Call::Config::BitrateConfig& bitrate_config) override;
261 void OnNetworkRouteChanged(const std::string& transport_name, 261 void OnNetworkRouteChanged(const std::string& transport_name,
262 const rtc::NetworkRoute& network_route) override {} 262 const rtc::NetworkRoute& network_route) override {}
263 void SignalChannelNetworkState(webrtc::MediaType media, 263 void SignalChannelNetworkState(webrtc::MediaType media,
264 webrtc::NetworkState state) override; 264 webrtc::NetworkState state) override;
265 void OnTransportOverheadChanged(webrtc::MediaType media,
266 int transport_overhead_per_packet) override;
265 void OnSentPacket(const rtc::SentPacket& sent_packet) override; 267 void OnSentPacket(const rtc::SentPacket& sent_packet) override;
266 268
267 webrtc::Call::Config config_; 269 webrtc::Call::Config config_;
268 webrtc::NetworkState audio_network_state_; 270 webrtc::NetworkState audio_network_state_;
269 webrtc::NetworkState video_network_state_; 271 webrtc::NetworkState video_network_state_;
270 rtc::SentPacket last_sent_packet_; 272 rtc::SentPacket last_sent_packet_;
271 int last_sent_nonnegative_packet_id_ = -1; 273 int last_sent_nonnegative_packet_id_ = -1;
272 webrtc::Call::Stats stats_; 274 webrtc::Call::Stats stats_;
273 std::vector<FakeVideoSendStream*> video_send_streams_; 275 std::vector<FakeVideoSendStream*> video_send_streams_;
274 std::vector<FakeAudioSendStream*> audio_send_streams_; 276 std::vector<FakeAudioSendStream*> audio_send_streams_;
275 std::vector<FakeVideoReceiveStream*> video_receive_streams_; 277 std::vector<FakeVideoReceiveStream*> video_receive_streams_;
276 std::vector<FakeAudioReceiveStream*> audio_receive_streams_; 278 std::vector<FakeAudioReceiveStream*> audio_receive_streams_;
277 279
278 int num_created_send_streams_; 280 int num_created_send_streams_;
279 int num_created_receive_streams_; 281 int num_created_receive_streams_;
282
283 int audio_transport_overhead_;
284 int video_transport_overhead_;
280 }; 285 };
281 286
282 } // namespace cricket 287 } // namespace cricket
283 #endif // WEBRTC_MEDIA_ENGINE_FAKEWEBRTCCALL_H_ 288 #endif // WEBRTC_MEDIA_ENGINE_FAKEWEBRTCCALL_H_
OLDNEW
« no previous file with comments | « webrtc/media/base/rtpdataengine.h ('k') | webrtc/media/engine/fakewebrtccall.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698