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

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

Issue 1369773003: Add a continual_gathering_policy in PeerConnection RTCConfiguration (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Rebase to master Created 5 years, 2 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/transport.cc ('k') | webrtc/p2p/base/transportcontroller.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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 virtual void SetIceCredentials(const std::string& ice_ufrag, 52 virtual void SetIceCredentials(const std::string& ice_ufrag,
53 const std::string& ice_pwd) = 0; 53 const std::string& ice_pwd) = 0;
54 // SetRemoteIceCredentials only need to be implemented by the ICE 54 // SetRemoteIceCredentials only need to be implemented by the ICE
55 // transport channels. Non-ICE transport channels can just ignore. 55 // transport channels. Non-ICE transport channels can just ignore.
56 virtual void SetRemoteIceCredentials(const std::string& ice_ufrag, 56 virtual void SetRemoteIceCredentials(const std::string& ice_ufrag,
57 const std::string& ice_pwd) = 0; 57 const std::string& ice_pwd) = 0;
58 58
59 // SetRemoteIceMode must be implemented only by the ICE transport channels. 59 // SetRemoteIceMode must be implemented only by the ICE transport channels.
60 virtual void SetRemoteIceMode(IceMode mode) = 0; 60 virtual void SetRemoteIceMode(IceMode mode) = 0;
61 61
62 virtual void SetReceivingTimeout(int timeout_ms) = 0; 62 virtual void SetIceConfig(const IceConfig& config) = 0;
63 63
64 // Begins the process of attempting to make a connection to the other client. 64 // Begins the process of attempting to make a connection to the other client.
65 virtual void Connect() = 0; 65 virtual void Connect() = 0;
66 66
67 // Start gathering candidates if not already started, or if an ICE restart 67 // Start gathering candidates if not already started, or if an ICE restart
68 // occurred. 68 // occurred.
69 virtual void MaybeStartGathering() = 0; 69 virtual void MaybeStartGathering() = 0;
70 70
71 sigslot::signal1<TransportChannelImpl*> SignalGatheringState; 71 sigslot::signal1<TransportChannelImpl*> SignalGatheringState;
72 72
(...skipping 30 matching lines...) Expand all
103 // channel decreases. 103 // channel decreases.
104 sigslot::signal1<TransportChannelImpl*> SignalConnectionRemoved; 104 sigslot::signal1<TransportChannelImpl*> SignalConnectionRemoved;
105 105
106 private: 106 private:
107 RTC_DISALLOW_COPY_AND_ASSIGN(TransportChannelImpl); 107 RTC_DISALLOW_COPY_AND_ASSIGN(TransportChannelImpl);
108 }; 108 };
109 109
110 } // namespace cricket 110 } // namespace cricket
111 111
112 #endif // WEBRTC_P2P_BASE_TRANSPORTCHANNELIMPL_H_ 112 #endif // WEBRTC_P2P_BASE_TRANSPORTCHANNELIMPL_H_
OLDNEW
« no previous file with comments | « webrtc/p2p/base/transport.cc ('k') | webrtc/p2p/base/transportcontroller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698