| Index: webrtc/p2p/base/transportcontroller.h
|
| diff --git a/webrtc/p2p/base/transportcontroller.h b/webrtc/p2p/base/transportcontroller.h
|
| index da3bab3fe44f7fe26ece30cfb6129f2a7c2a7f37..fecdd427707eb64af584b603d59c22c9ba2e560e 100644
|
| --- a/webrtc/p2p/base/transportcontroller.h
|
| +++ b/webrtc/p2p/base/transportcontroller.h
|
| @@ -31,6 +31,14 @@ namespace cricket {
|
| class TransportController : public sigslot::has_slots<>,
|
| public rtc::MessageHandler {
|
| public:
|
| + // If |redetermine_role_on_ice_restart| is true, ICE role is redetermined
|
| + // upon setting a local transport description that indicates an ICE restart.
|
| + // For the constructor that doesn't take this parameter, it defaults to true.
|
| + TransportController(rtc::Thread* signaling_thread,
|
| + rtc::Thread* network_thread,
|
| + PortAllocator* port_allocator,
|
| + bool redetermine_role_on_ice_restart);
|
| +
|
| TransportController(rtc::Thread* signaling_thread,
|
| rtc::Thread* network_thread,
|
| PortAllocator* port_allocator);
|
| @@ -220,6 +228,7 @@ class TransportController : public sigslot::has_slots<>,
|
| // TODO(deadbeef): Move the fields below down to the transports themselves
|
| IceConfig ice_config_;
|
| IceRole ice_role_ = ICEROLE_CONTROLLING;
|
| + bool redetermine_role_on_ice_restart_;
|
| uint64_t ice_tiebreaker_ = rtc::CreateRandomId64();
|
| rtc::scoped_refptr<rtc::RTCCertificate> certificate_;
|
| rtc::AsyncInvoker invoker_;
|
|
|