| 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 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 297 const webrtc::Call::Config::BitrateConfig& bitrate_config) override; | 297 const webrtc::Call::Config::BitrateConfig& bitrate_config) override; |
| 298 void SetBitrateConfigMask( | 298 void SetBitrateConfigMask( |
| 299 const webrtc::Call::Config::BitrateConfigMask& mask) override; | 299 const webrtc::Call::Config::BitrateConfigMask& mask) override; |
| 300 void OnNetworkRouteChanged(const std::string& transport_name, | 300 void OnNetworkRouteChanged(const std::string& transport_name, |
| 301 const rtc::NetworkRoute& network_route) override {} | 301 const rtc::NetworkRoute& network_route) override {} |
| 302 void SignalChannelNetworkState(webrtc::MediaType media, | 302 void SignalChannelNetworkState(webrtc::MediaType media, |
| 303 webrtc::NetworkState state) override; | 303 webrtc::NetworkState state) override; |
| 304 void OnTransportOverheadChanged(webrtc::MediaType media, | 304 void OnTransportOverheadChanged(webrtc::MediaType media, |
| 305 int transport_overhead_per_packet) override; | 305 int transport_overhead_per_packet) override; |
| 306 void OnSentPacket(const rtc::SentPacket& sent_packet) override; | 306 void OnSentPacket(const rtc::SentPacket& sent_packet) override; |
| 307 bool SetRtpKeepAliveConfig(const webrtc::RtpKeepAliveConfig& config) override; |
| 307 | 308 |
| 308 webrtc::Call::Config config_; | 309 webrtc::Call::Config config_; |
| 309 webrtc::NetworkState audio_network_state_; | 310 webrtc::NetworkState audio_network_state_; |
| 310 webrtc::NetworkState video_network_state_; | 311 webrtc::NetworkState video_network_state_; |
| 311 rtc::SentPacket last_sent_packet_; | 312 rtc::SentPacket last_sent_packet_; |
| 312 int last_sent_nonnegative_packet_id_ = -1; | 313 int last_sent_nonnegative_packet_id_ = -1; |
| 313 int next_stream_id_ = 665; | 314 int next_stream_id_ = 665; |
| 314 webrtc::Call::Stats stats_; | 315 webrtc::Call::Stats stats_; |
| 315 std::vector<FakeVideoSendStream*> video_send_streams_; | 316 std::vector<FakeVideoSendStream*> video_send_streams_; |
| 316 std::vector<FakeAudioSendStream*> audio_send_streams_; | 317 std::vector<FakeAudioSendStream*> audio_send_streams_; |
| 317 std::vector<FakeVideoReceiveStream*> video_receive_streams_; | 318 std::vector<FakeVideoReceiveStream*> video_receive_streams_; |
| 318 std::vector<FakeAudioReceiveStream*> audio_receive_streams_; | 319 std::vector<FakeAudioReceiveStream*> audio_receive_streams_; |
| 319 std::vector<FakeFlexfecReceiveStream*> flexfec_receive_streams_; | 320 std::vector<FakeFlexfecReceiveStream*> flexfec_receive_streams_; |
| 320 | 321 |
| 321 int num_created_send_streams_; | 322 int num_created_send_streams_; |
| 322 int num_created_receive_streams_; | 323 int num_created_receive_streams_; |
| 323 | 324 |
| 324 int audio_transport_overhead_; | 325 int audio_transport_overhead_; |
| 325 int video_transport_overhead_; | 326 int video_transport_overhead_; |
| 326 }; | 327 }; |
| 327 | 328 |
| 328 } // namespace cricket | 329 } // namespace cricket |
| 329 #endif // WEBRTC_MEDIA_ENGINE_FAKEWEBRTCCALL_H_ | 330 #endif // WEBRTC_MEDIA_ENGINE_FAKEWEBRTCCALL_H_ |
| OLD | NEW |