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 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
232 | 232 |
233 DeliveryStatus DeliverPacket(webrtc::MediaType media_type, | 233 DeliveryStatus DeliverPacket(webrtc::MediaType media_type, |
234 const uint8_t* packet, | 234 const uint8_t* packet, |
235 size_t length, | 235 size_t length, |
236 const webrtc::PacketTime& packet_time) override; | 236 const webrtc::PacketTime& packet_time) override; |
237 | 237 |
238 webrtc::Call::Stats GetStats() const override; | 238 webrtc::Call::Stats GetStats() const override; |
239 | 239 |
240 void SetBitrateConfig( | 240 void SetBitrateConfig( |
241 const webrtc::Call::Config::BitrateConfig& bitrate_config) override; | 241 const webrtc::Call::Config::BitrateConfig& bitrate_config) override; |
| 242 void OnNetworkRouteChanged(const std::string& transport_name, |
| 243 const rtc::NetworkRoute& network_route) override {} |
242 void SignalChannelNetworkState(webrtc::MediaType media, | 244 void SignalChannelNetworkState(webrtc::MediaType media, |
243 webrtc::NetworkState state) override; | 245 webrtc::NetworkState state) override; |
244 void OnSentPacket(const rtc::SentPacket& sent_packet) override; | 246 void OnSentPacket(const rtc::SentPacket& sent_packet) override; |
245 | 247 |
246 webrtc::Call::Config config_; | 248 webrtc::Call::Config config_; |
247 webrtc::NetworkState audio_network_state_; | 249 webrtc::NetworkState audio_network_state_; |
248 webrtc::NetworkState video_network_state_; | 250 webrtc::NetworkState video_network_state_; |
249 rtc::SentPacket last_sent_packet_; | 251 rtc::SentPacket last_sent_packet_; |
250 webrtc::Call::Stats stats_; | 252 webrtc::Call::Stats stats_; |
251 std::vector<FakeVideoSendStream*> video_send_streams_; | 253 std::vector<FakeVideoSendStream*> video_send_streams_; |
252 std::vector<FakeAudioSendStream*> audio_send_streams_; | 254 std::vector<FakeAudioSendStream*> audio_send_streams_; |
253 std::vector<FakeVideoReceiveStream*> video_receive_streams_; | 255 std::vector<FakeVideoReceiveStream*> video_receive_streams_; |
254 std::vector<FakeAudioReceiveStream*> audio_receive_streams_; | 256 std::vector<FakeAudioReceiveStream*> audio_receive_streams_; |
255 | 257 |
256 int num_created_send_streams_; | 258 int num_created_send_streams_; |
257 int num_created_receive_streams_; | 259 int num_created_receive_streams_; |
258 }; | 260 }; |
259 | 261 |
260 } // namespace cricket | 262 } // namespace cricket |
261 #endif // TALK_MEDIA_WEBRTC_WEBRTCVIDEOENGINE2_UNITTEST_H_ | 263 #endif // TALK_MEDIA_WEBRTC_WEBRTCVIDEOENGINE2_UNITTEST_H_ |
OLD | NEW |