| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |