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

Side by Side Diff: webrtc/p2p/base/transportchannel.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/p2p/base/p2ptransportchannel_unittest.cc ('k') | webrtc/p2p/quic/quictransportchannel.h » ('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 2004 The WebRTC Project Authors. All rights reserved. 2 * Copyright 2004 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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 sigslot::signal2<TransportChannel*, const rtc::SentPacket&> SignalSentPacket; 148 sigslot::signal2<TransportChannel*, const rtc::SentPacket&> SignalSentPacket;
149 149
150 // Deprecated by SignalSelectedCandidatePairChanged 150 // Deprecated by SignalSelectedCandidatePairChanged
151 // This signal occurs when there is a change in the way that packets are 151 // This signal occurs when there is a change in the way that packets are
152 // being routed, i.e. to a different remote location. The candidate 152 // being routed, i.e. to a different remote location. The candidate
153 // indicates where and how we are currently sending media. 153 // indicates where and how we are currently sending media.
154 sigslot::signal2<TransportChannel*, const Candidate&> SignalRouteChange; 154 sigslot::signal2<TransportChannel*, const Candidate&> SignalRouteChange;
155 155
156 // Signalled when the current selected candidate pair has changed. 156 // Signalled when the current selected candidate pair has changed.
157 // The first parameter is the transport channel that signals the event. 157 // The first parameter is the transport channel that signals the event.
158 // The second parameter is the new selected candidate pair. 158 // The second parameter is the new selected candidate pair. The third
159 sigslot::signal2<TransportChannel*, CandidatePairInterface*> 159 // parameter is the last packet id sent on the previous candidate pair.
160 sigslot::signal3<TransportChannel*, CandidatePairInterface*, int>
160 SignalSelectedCandidatePairChanged; 161 SignalSelectedCandidatePairChanged;
161 162
162 // Invoked when the channel is being destroyed. 163 // Invoked when the channel is being destroyed.
163 sigslot::signal1<TransportChannel*> SignalDestroyed; 164 sigslot::signal1<TransportChannel*> SignalDestroyed;
164 165
165 // Debugging description of this transport channel. 166 // Debugging description of this transport channel.
166 std::string ToString() const; 167 std::string ToString() const;
167 168
168 protected: 169 protected:
169 // Sets the writable state, signaling if necessary. 170 // Sets the writable state, signaling if necessary.
(...skipping 12 matching lines...) Expand all
182 bool writable_; 183 bool writable_;
183 bool receiving_; 184 bool receiving_;
184 DtlsTransportState dtls_state_ = DTLS_TRANSPORT_NEW; 185 DtlsTransportState dtls_state_ = DTLS_TRANSPORT_NEW;
185 186
186 RTC_DISALLOW_COPY_AND_ASSIGN(TransportChannel); 187 RTC_DISALLOW_COPY_AND_ASSIGN(TransportChannel);
187 }; 188 };
188 189
189 } // namespace cricket 190 } // namespace cricket
190 191
191 #endif // WEBRTC_P2P_BASE_TRANSPORTCHANNEL_H_ 192 #endif // WEBRTC_P2P_BASE_TRANSPORTCHANNEL_H_
OLDNEW
« no previous file with comments | « webrtc/p2p/base/p2ptransportchannel_unittest.cc ('k') | webrtc/p2p/quic/quictransportchannel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698