Index: webrtc/api/webrtcsession.h |
diff --git a/webrtc/api/webrtcsession.h b/webrtc/api/webrtcsession.h |
index 88ff63dfc41fb0587aa45799077e30c170064648..970f967cb8da595197389321cff79269c8577352 100644 |
--- a/webrtc/api/webrtcsession.h |
+++ b/webrtc/api/webrtcsession.h |
@@ -146,6 +146,7 @@ |
// These are const to allow them to be called from const methods. |
rtc::Thread* signaling_thread() const { return signaling_thread_; } |
rtc::Thread* worker_thread() const { return worker_thread_; } |
+ cricket::PortAllocator* port_allocator() const { return port_allocator_; } |
// The ID of this session. |
const std::string& id() const { return sid_; } |
@@ -212,6 +213,8 @@ |
bool RemoveRemoteIceCandidates( |
const std::vector<cricket::Candidate>& candidates); |
+ |
+ bool SetIceTransports(PeerConnectionInterface::IceTransportsType type); |
cricket::IceConfig ParseIceConfig( |
const PeerConnectionInterface::RTCConfiguration& config) const; |
@@ -467,6 +470,7 @@ |
rtc::Thread* const signaling_thread_; |
rtc::Thread* const worker_thread_; |
+ cricket::PortAllocator* const port_allocator_; |
State state_ = STATE_INIT; |
Error error_ = ERROR_NONE; |