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

Side by Side Diff: webrtc/pc/channel.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/quic/quictransportchannel.cc ('k') | webrtc/pc/channel.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 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 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 const char* data, 202 const char* data,
203 size_t len, 203 size_t len,
204 const rtc::PacketTime& packet_time, 204 const rtc::PacketTime& packet_time,
205 int flags); 205 int flags);
206 void OnReadyToSend(TransportChannel* channel); 206 void OnReadyToSend(TransportChannel* channel);
207 207
208 void OnDtlsState(TransportChannel* channel, DtlsTransportState state); 208 void OnDtlsState(TransportChannel* channel, DtlsTransportState state);
209 209
210 void OnSelectedCandidatePairChanged( 210 void OnSelectedCandidatePairChanged(
211 TransportChannel* channel, 211 TransportChannel* channel,
212 CandidatePairInterface* selected_candidate_pair); 212 CandidatePairInterface* selected_candidate_pair,
213 int last_sent_packet_id);
213 214
214 bool PacketIsRtcp(const TransportChannel* channel, const char* data, 215 bool PacketIsRtcp(const TransportChannel* channel, const char* data,
215 size_t len); 216 size_t len);
216 bool SendPacket(bool rtcp, 217 bool SendPacket(bool rtcp,
217 rtc::CopyOnWriteBuffer* packet, 218 rtc::CopyOnWriteBuffer* packet,
218 const rtc::PacketOptions& options); 219 const rtc::PacketOptions& options);
219 virtual bool WantsPacket(bool rtcp, const rtc::CopyOnWriteBuffer* packet); 220 virtual bool WantsPacket(bool rtcp, const rtc::CopyOnWriteBuffer* packet);
220 void HandlePacket(bool rtcp, rtc::CopyOnWriteBuffer* packet, 221 void HandlePacket(bool rtcp, rtc::CopyOnWriteBuffer* packet,
221 const rtc::PacketTime& packet_time); 222 const rtc::PacketTime& packet_time);
222 223
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after
610 // SetSendParameters. 611 // SetSendParameters.
611 DataSendParameters last_send_params_; 612 DataSendParameters last_send_params_;
612 // Last DataRecvParameters sent down to the media_channel() via 613 // Last DataRecvParameters sent down to the media_channel() via
613 // SetRecvParameters. 614 // SetRecvParameters.
614 DataRecvParameters last_recv_params_; 615 DataRecvParameters last_recv_params_;
615 }; 616 };
616 617
617 } // namespace cricket 618 } // namespace cricket
618 619
619 #endif // WEBRTC_PC_CHANNEL_H_ 620 #endif // WEBRTC_PC_CHANNEL_H_
OLDNEW
« no previous file with comments | « webrtc/p2p/quic/quictransportchannel.cc ('k') | webrtc/pc/channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698