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

Side by Side Diff: webrtc/p2p/base/dtlstransportchannel.h

Issue 1842093002: Add the last_sent_packet_id to the candidate pair change signal (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Merge with head Created 4 years, 8 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
« no previous file with comments | « webrtc/base/networkroute.h ('k') | webrtc/p2p/base/dtlstransportchannel.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2011 The WebRTC Project Authors. All rights reserved. 2 * Copyright 2011 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 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 bool MaybeStartDtls(); 211 bool MaybeStartDtls();
212 bool HandleDtlsPacket(const char* data, size_t size); 212 bool HandleDtlsPacket(const char* data, size_t size);
213 void OnGatheringState(TransportChannelImpl* channel); 213 void OnGatheringState(TransportChannelImpl* channel);
214 void OnCandidateGathered(TransportChannelImpl* channel, const Candidate& c); 214 void OnCandidateGathered(TransportChannelImpl* channel, const Candidate& c);
215 void OnCandidatesRemoved(TransportChannelImpl* channel, 215 void OnCandidatesRemoved(TransportChannelImpl* channel,
216 const Candidates& candidates); 216 const Candidates& candidates);
217 void OnRoleConflict(TransportChannelImpl* channel); 217 void OnRoleConflict(TransportChannelImpl* channel);
218 void OnRouteChange(TransportChannel* channel, const Candidate& candidate); 218 void OnRouteChange(TransportChannel* channel, const Candidate& candidate);
219 void OnSelectedCandidatePairChanged( 219 void OnSelectedCandidatePairChanged(
220 TransportChannel* channel, 220 TransportChannel* channel,
221 CandidatePairInterface* selected_candidate_pair); 221 CandidatePairInterface* selected_candidate_pair,
222 int last_sent_packet_id);
222 void OnConnectionRemoved(TransportChannelImpl* channel); 223 void OnConnectionRemoved(TransportChannelImpl* channel);
223 void Reconnect(); 224 void Reconnect();
224 225
225 rtc::Thread* worker_thread_; // Everything should occur on this thread. 226 rtc::Thread* worker_thread_; // Everything should occur on this thread.
226 // Underlying channel, not owned by this class. 227 // Underlying channel, not owned by this class.
227 TransportChannelImpl* const channel_; 228 TransportChannelImpl* const channel_;
228 rtc::scoped_ptr<rtc::SSLStreamAdapter> dtls_; // The DTLS stream 229 rtc::scoped_ptr<rtc::SSLStreamAdapter> dtls_; // The DTLS stream
229 StreamInterfaceChannel* downward_; // Wrapper for channel_, owned by dtls_. 230 StreamInterfaceChannel* downward_; // Wrapper for channel_, owned by dtls_.
230 std::vector<int> srtp_ciphers_; // SRTP ciphers to use with DTLS. 231 std::vector<int> srtp_ciphers_; // SRTP ciphers to use with DTLS.
231 bool dtls_active_ = false; 232 bool dtls_active_ = false;
232 rtc::scoped_refptr<rtc::RTCCertificate> local_certificate_; 233 rtc::scoped_refptr<rtc::RTCCertificate> local_certificate_;
233 rtc::SSLRole ssl_role_; 234 rtc::SSLRole ssl_role_;
234 rtc::SSLProtocolVersion ssl_max_version_; 235 rtc::SSLProtocolVersion ssl_max_version_;
235 rtc::Buffer remote_fingerprint_value_; 236 rtc::Buffer remote_fingerprint_value_;
236 std::string remote_fingerprint_algorithm_; 237 std::string remote_fingerprint_algorithm_;
237 238
238 RTC_DISALLOW_COPY_AND_ASSIGN(DtlsTransportChannelWrapper); 239 RTC_DISALLOW_COPY_AND_ASSIGN(DtlsTransportChannelWrapper);
239 }; 240 };
240 241
241 } // namespace cricket 242 } // namespace cricket
242 243
243 #endif // WEBRTC_P2P_BASE_DTLSTRANSPORTCHANNEL_H_ 244 #endif // WEBRTC_P2P_BASE_DTLSTRANSPORTCHANNEL_H_
OLDNEW
« no previous file with comments | « webrtc/base/networkroute.h ('k') | webrtc/p2p/base/dtlstransportchannel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698