| Index: webrtc/p2p/base/faketransportcontroller.h
|
| diff --git a/webrtc/p2p/base/faketransportcontroller.h b/webrtc/p2p/base/faketransportcontroller.h
|
| index e356e814b754a1b2b6f88f987b7bd33cb46e943a..8ef5687d8a9a1b96b851fc1eae619e8db3daf907 100644
|
| --- a/webrtc/p2p/base/faketransportcontroller.h
|
| +++ b/webrtc/p2p/base/faketransportcontroller.h
|
| @@ -182,11 +182,13 @@ class FakeTransportChannel : public TransportChannelImpl,
|
|
|
| void SetReceiving(bool receiving) { set_receiving(receiving); }
|
|
|
| - void SetReceivingTimeout(int timeout) override {
|
| - receiving_timeout_ = timeout;
|
| + void SetIceConfig(const IceConfig& config) override {
|
| + receiving_timeout_ = config.receiving_timeout_ms;
|
| + continuous_gathering_ = config.continuous_gathering;
|
| }
|
|
|
| int receiving_timeout() const { return receiving_timeout_; }
|
| + bool continuous_gathering() const { return continuous_gathering_; }
|
|
|
| int SendPacket(const char* data,
|
| size_t len,
|
| @@ -319,6 +321,7 @@ class FakeTransportChannel : public TransportChannelImpl,
|
| std::vector<std::string> srtp_ciphers_;
|
| std::string chosen_srtp_cipher_;
|
| int receiving_timeout_ = -1;
|
| + bool continuous_gathering_ = false;
|
| IceRole role_ = ICEROLE_UNKNOWN;
|
| uint64 tiebreaker_ = 0;
|
| std::string ice_ufrag_;
|
|
|