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

Side by Side Diff: talk/app/webrtc/peerconnection.h

Issue 1207563002: Add flakiness check if there is no received packets in a certain period. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Address more comments Created 5 years, 5 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 * libjingle 2 * libjingle
3 * Copyright 2012 Google Inc. 3 * Copyright 2012 Google Inc.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met: 6 * modification, are permitted provided that the following conditions are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright notice, 8 * 1. Redistributions of source code must retain the above copyright notice,
9 * this list of conditions and the following disclaimer. 9 * this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright notice, 10 * 2. Redistributions in binary form must reproduce the above copyright notice,
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 AudioTrackInterface* audio_track, 135 AudioTrackInterface* audio_track,
136 uint32 ssrc) override; 136 uint32 ssrc) override;
137 void OnAddLocalVideoTrack(MediaStreamInterface* stream, 137 void OnAddLocalVideoTrack(MediaStreamInterface* stream,
138 VideoTrackInterface* video_track, 138 VideoTrackInterface* video_track,
139 uint32 ssrc) override; 139 uint32 ssrc) override;
140 void OnRemoveLocalAudioTrack(MediaStreamInterface* stream, 140 void OnRemoveLocalAudioTrack(MediaStreamInterface* stream,
141 AudioTrackInterface* audio_track, 141 AudioTrackInterface* audio_track,
142 uint32 ssrc) override; 142 uint32 ssrc) override;
143 void OnRemoveLocalVideoTrack(MediaStreamInterface* stream, 143 void OnRemoveLocalVideoTrack(MediaStreamInterface* stream,
144 VideoTrackInterface* video_track) override; 144 VideoTrackInterface* video_track) override;
145 virtual void OnRemoveLocalStream(MediaStreamInterface* stream); 145 void OnRemoveLocalStream(MediaStreamInterface* stream) override;
146 146
147 // Implements IceObserver 147 // Implements IceObserver
148 virtual void OnIceConnectionChange(IceConnectionState new_state); 148 void OnIceConnectionChange(IceConnectionState new_state) override;
149 virtual void OnIceGatheringChange(IceGatheringState new_state); 149 void OnIceGatheringChange(IceGatheringState new_state) override;
150 virtual void OnIceCandidate(const IceCandidateInterface* candidate); 150 void OnIceCandidate(const IceCandidateInterface* candidate) override;
151 virtual void OnIceComplete(); 151 void OnIceComplete() override;
152 void OnIceConnectionReceivingChange(bool receiving) override;
152 153
153 // Signals from WebRtcSession. 154 // Signals from WebRtcSession.
154 void OnSessionStateChange(cricket::BaseSession* session, 155 void OnSessionStateChange(cricket::BaseSession* session,
155 cricket::BaseSession::State state); 156 cricket::BaseSession::State state);
156 void ChangeSignalingState(SignalingState signaling_state); 157 void ChangeSignalingState(SignalingState signaling_state);
157 158
158 bool DoInitialize(IceTransportsType type, 159 bool DoInitialize(IceTransportsType type,
159 const StunConfigurations& stun_config, 160 const StunConfigurations& stun_config,
160 const TurnConfigurations& turn_config, 161 const TurnConfigurations& turn_config,
161 const MediaConstraintsInterface* constraints, 162 const MediaConstraintsInterface* constraints,
(...skipping 30 matching lines...) Expand all
192 rtc::scoped_ptr<cricket::PortAllocator> port_allocator_; 193 rtc::scoped_ptr<cricket::PortAllocator> port_allocator_;
193 rtc::scoped_ptr<WebRtcSession> session_; 194 rtc::scoped_ptr<WebRtcSession> session_;
194 rtc::scoped_ptr<MediaStreamSignaling> mediastream_signaling_; 195 rtc::scoped_ptr<MediaStreamSignaling> mediastream_signaling_;
195 rtc::scoped_ptr<MediaStreamHandlerContainer> stream_handler_container_; 196 rtc::scoped_ptr<MediaStreamHandlerContainer> stream_handler_container_;
196 rtc::scoped_ptr<StatsCollector> stats_; 197 rtc::scoped_ptr<StatsCollector> stats_;
197 }; 198 };
198 199
199 } // namespace webrtc 200 } // namespace webrtc
200 201
201 #endif // TALK_APP_WEBRTC_PEERCONNECTION_H_ 202 #endif // TALK_APP_WEBRTC_PEERCONNECTION_H_
OLDNEW
« no previous file with comments | « talk/app/webrtc/java/testcommon/src/org/webrtc/PeerConnectionTest.java ('k') | talk/app/webrtc/peerconnection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698