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

Side by Side Diff: webrtc/pc/channel.h

Issue 2099783002: Fixing bug where Connection drops packets when presumed writable. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Merge with master. Created 4 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
« 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 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 size_t len, 215 size_t len,
216 const rtc::PacketTime& packet_time, 216 const rtc::PacketTime& packet_time,
217 int flags); 217 int flags);
218 void OnReadyToSend(TransportChannel* channel); 218 void OnReadyToSend(TransportChannel* channel);
219 219
220 void OnDtlsState(TransportChannel* channel, DtlsTransportState state); 220 void OnDtlsState(TransportChannel* channel, DtlsTransportState state);
221 221
222 void OnSelectedCandidatePairChanged( 222 void OnSelectedCandidatePairChanged(
223 TransportChannel* channel, 223 TransportChannel* channel,
224 CandidatePairInterface* selected_candidate_pair, 224 CandidatePairInterface* selected_candidate_pair,
225 int last_sent_packet_id); 225 int last_sent_packet_id,
226 bool ready_to_send);
226 227
227 bool PacketIsRtcp(const TransportChannel* channel, const char* data, 228 bool PacketIsRtcp(const TransportChannel* channel, const char* data,
228 size_t len); 229 size_t len);
229 bool SendPacket(bool rtcp, 230 bool SendPacket(bool rtcp,
230 rtc::CopyOnWriteBuffer* packet, 231 rtc::CopyOnWriteBuffer* packet,
231 const rtc::PacketOptions& options); 232 const rtc::PacketOptions& options);
232 233
233 virtual bool WantsPacket(bool rtcp, const rtc::CopyOnWriteBuffer* packet); 234 virtual bool WantsPacket(bool rtcp, const rtc::CopyOnWriteBuffer* packet);
234 void HandlePacket(bool rtcp, rtc::CopyOnWriteBuffer* packet, 235 void HandlePacket(bool rtcp, rtc::CopyOnWriteBuffer* packet,
235 const rtc::PacketTime& packet_time); 236 const rtc::PacketTime& packet_time);
(...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after
679 // SetSendParameters. 680 // SetSendParameters.
680 DataSendParameters last_send_params_; 681 DataSendParameters last_send_params_;
681 // Last DataRecvParameters sent down to the media_channel() via 682 // Last DataRecvParameters sent down to the media_channel() via
682 // SetRecvParameters. 683 // SetRecvParameters.
683 DataRecvParameters last_recv_params_; 684 DataRecvParameters last_recv_params_;
684 }; 685 };
685 686
686 } // namespace cricket 687 } // namespace cricket
687 688
688 #endif // WEBRTC_PC_CHANNEL_H_ 689 #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