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

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

Issue 1803063004: Reset the BWE when the network changes (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Removed changes in call dir and leave that in a separate CL. 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/faketransportcontroller.h ('k') | webrtc/p2p/base/p2ptransportchannel.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
11 // P2PTransportChannel wraps up the state management of the connection between 11 // P2PTransportChannel wraps up the state management of the connection between
12 // two P2P clients. Clients have candidate ports for connecting, and 12 // two P2P clients. Clients have candidate ports for connecting, and
13 // connections which are combinations of candidates from each end (Alice and 13 // connections which are combinations of candidates from each end (Alice and
14 // Bob each have candidates, one candidate from Alice and one candidate from 14 // Bob each have candidates, one candidate from Alice and one candidate from
15 // Bob are used to make a connection, repeat to make many connections). 15 // Bob are used to make a connection, repeat to make many connections).
16 // 16 //
17 // When all of the available connections become invalid (non-writable), we 17 // When all of the available connections become invalid (non-writable), we
18 // kick off a process of determining more candidates and more connections. 18 // kick off a process of determining more candidates and more connections.
19 // 19 //
20 #ifndef WEBRTC_P2P_BASE_P2PTRANSPORTCHANNEL_H_ 20 #ifndef WEBRTC_P2P_BASE_P2PTRANSPORTCHANNEL_H_
21 #define WEBRTC_P2P_BASE_P2PTRANSPORTCHANNEL_H_ 21 #define WEBRTC_P2P_BASE_P2PTRANSPORTCHANNEL_H_
22 22
23 #include <map> 23 #include <map>
24 #include <set> 24 #include <set>
25 #include <string> 25 #include <string>
26 #include <vector> 26 #include <vector>
27 #include "webrtc/p2p/base/candidate.h" 27 #include "webrtc/p2p/base/candidate.h"
28 #include "webrtc/p2p/base/candidatepairinterface.h"
28 #include "webrtc/p2p/base/p2ptransport.h" 29 #include "webrtc/p2p/base/p2ptransport.h"
29 #include "webrtc/p2p/base/portallocator.h" 30 #include "webrtc/p2p/base/portallocator.h"
30 #include "webrtc/p2p/base/portinterface.h" 31 #include "webrtc/p2p/base/portinterface.h"
31 #include "webrtc/p2p/base/transportchannelimpl.h" 32 #include "webrtc/p2p/base/transportchannelimpl.h"
32 #include "webrtc/base/asyncpacketsocket.h" 33 #include "webrtc/base/asyncpacketsocket.h"
33 #include "webrtc/base/sigslot.h" 34 #include "webrtc/base/sigslot.h"
34 35
35 namespace cricket { 36 namespace cricket {
36 37
37 extern const int WEAK_PING_INTERVAL; 38 extern const int WEAK_PING_INTERVAL;
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 int weak_ping_interval_ = WEAK_PING_INTERVAL; 326 int weak_ping_interval_ = WEAK_PING_INTERVAL;
326 TransportChannelState state_ = TransportChannelState::STATE_INIT; 327 TransportChannelState state_ = TransportChannelState::STATE_INIT;
327 IceConfig config_; 328 IceConfig config_;
328 329
329 RTC_DISALLOW_COPY_AND_ASSIGN(P2PTransportChannel); 330 RTC_DISALLOW_COPY_AND_ASSIGN(P2PTransportChannel);
330 }; 331 };
331 332
332 } // namespace cricket 333 } // namespace cricket
333 334
334 #endif // WEBRTC_P2P_BASE_P2PTRANSPORTCHANNEL_H_ 335 #endif // WEBRTC_P2P_BASE_P2PTRANSPORTCHANNEL_H_
OLDNEW
« no previous file with comments | « webrtc/p2p/base/faketransportcontroller.h ('k') | webrtc/p2p/base/p2ptransportchannel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698