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

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

Issue 2981513002: Wire up RTP keep-alive in ortc api. (Closed)
Patch Set: Add workaround for gcc Created 3 years, 4 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 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 const webrtc::Call::Config::BitrateConfig& bitrate_config) override; 303 const webrtc::Call::Config::BitrateConfig& bitrate_config) override;
304 void SetBitrateConfigMask( 304 void SetBitrateConfigMask(
305 const webrtc::Call::Config::BitrateConfigMask& mask) override; 305 const webrtc::Call::Config::BitrateConfigMask& mask) override;
306 void OnNetworkRouteChanged(const std::string& transport_name, 306 void OnNetworkRouteChanged(const std::string& transport_name,
307 const rtc::NetworkRoute& network_route) override {} 307 const rtc::NetworkRoute& network_route) override {}
308 void SignalChannelNetworkState(webrtc::MediaType media, 308 void SignalChannelNetworkState(webrtc::MediaType media,
309 webrtc::NetworkState state) override; 309 webrtc::NetworkState state) override;
310 void OnTransportOverheadChanged(webrtc::MediaType media, 310 void OnTransportOverheadChanged(webrtc::MediaType media,
311 int transport_overhead_per_packet) override; 311 int transport_overhead_per_packet) override;
312 void OnSentPacket(const rtc::SentPacket& sent_packet) override; 312 void OnSentPacket(const rtc::SentPacket& sent_packet) override;
313 bool SetRtpKeepAliveConfig(const webrtc::RtpKeepAliveConfig& config) override;
313 314
314 webrtc::Call::Config config_; 315 webrtc::Call::Config config_;
315 webrtc::NetworkState audio_network_state_; 316 webrtc::NetworkState audio_network_state_;
316 webrtc::NetworkState video_network_state_; 317 webrtc::NetworkState video_network_state_;
317 rtc::SentPacket last_sent_packet_; 318 rtc::SentPacket last_sent_packet_;
318 int last_sent_nonnegative_packet_id_ = -1; 319 int last_sent_nonnegative_packet_id_ = -1;
319 int next_stream_id_ = 665; 320 int next_stream_id_ = 665;
320 webrtc::Call::Stats stats_; 321 webrtc::Call::Stats stats_;
321 std::vector<FakeVideoSendStream*> video_send_streams_; 322 std::vector<FakeVideoSendStream*> video_send_streams_;
322 std::vector<FakeAudioSendStream*> audio_send_streams_; 323 std::vector<FakeAudioSendStream*> audio_send_streams_;
323 std::vector<FakeVideoReceiveStream*> video_receive_streams_; 324 std::vector<FakeVideoReceiveStream*> video_receive_streams_;
324 std::vector<FakeAudioReceiveStream*> audio_receive_streams_; 325 std::vector<FakeAudioReceiveStream*> audio_receive_streams_;
325 std::vector<FakeFlexfecReceiveStream*> flexfec_receive_streams_; 326 std::vector<FakeFlexfecReceiveStream*> flexfec_receive_streams_;
326 327
327 int num_created_send_streams_; 328 int num_created_send_streams_;
328 int num_created_receive_streams_; 329 int num_created_receive_streams_;
329 330
330 int audio_transport_overhead_; 331 int audio_transport_overhead_;
331 int video_transport_overhead_; 332 int video_transport_overhead_;
332 }; 333 };
333 334
334 } // namespace cricket 335 } // namespace cricket
335 #endif // WEBRTC_MEDIA_ENGINE_FAKEWEBRTCCALL_H_ 336 #endif // WEBRTC_MEDIA_ENGINE_FAKEWEBRTCCALL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698