Adds default for PeerConnectionObserver::OnIceConnectionChange

It's planned to be deprecated so it should not be required.

Bug: webrtc:9883
Change-Id: I7daa922786d3cbf6bca38e205f4f57773f3f8448
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/147275
Commit-Queue: Sebastian Jansson <srte@webrtc.org>
Reviewed-by: Henrik Boström <hbos@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#28715}
This commit is contained in:
Sebastian Jansson
2019-07-30 18:34:09 +02:00
committed by Commit Bot
parent 7702c8ac04
commit 6acb069c2c

View File

@ -1150,7 +1150,7 @@ class PeerConnectionObserver {
//
// TODO(jonasolsson): deprecate and remove this.
virtual void OnIceConnectionChange(
PeerConnectionInterface::IceConnectionState new_state) = 0;
PeerConnectionInterface::IceConnectionState new_state) {}
// Called any time the standards-compliant IceConnectionState changes.
virtual void OnStandardizedIceConnectionChange(