| Index: talk/app/webrtc/peerconnectioninterface.h
|
| diff --git a/talk/app/webrtc/peerconnectioninterface.h b/talk/app/webrtc/peerconnectioninterface.h
|
| index 734c2d09d3915db1adbc9e93d5d6218c7ecef62f..f301bafdff54f672f3f3da501d8965b934e78405 100644
|
| --- a/talk/app/webrtc/peerconnectioninterface.h
|
| +++ b/talk/app/webrtc/peerconnectioninterface.h
|
| @@ -379,8 +379,22 @@ class PeerConnectionInterface : public rtc::RefCountInterface {
|
| SessionDescriptionInterface* desc) = 0;
|
| // Restarts or updates the ICE Agent process of gathering local candidates
|
| // and pinging remote candidates.
|
| + // TODO(deadbeef): Remove once Chrome is moved over to SetConfiguration.
|
| virtual bool UpdateIce(const IceServers& configuration,
|
| - const MediaConstraintsInterface* constraints) = 0;
|
| + const MediaConstraintsInterface* constraints) {
|
| + return false;
|
| + }
|
| + // Sets the PeerConnection's global configuration to |config|.
|
| + // Any changes to STUN/TURN servers or ICE candidate policy will affect the
|
| + // next gathering phase, and cause the next call to createOffer to generate
|
| + // new ICE credentials. Note that the BUNDLE and RTCP-multiplexing policies
|
| + // cannot be changed with this method.
|
| + // TODO(deadbeef): Make this pure virtual once all Chrome subclasses of
|
| + // PeerConnectionInterface implement it.
|
| + virtual bool SetConfiguration(
|
| + const PeerConnectionInterface::RTCConfiguration& config) {
|
| + return false;
|
| + }
|
| // Provides a remote candidate to the ICE Agent.
|
| // A copy of the |candidate| will be created and added to the remote
|
| // description. So the caller of this method still has the ownership of the
|
|
|