Index: content/renderer/media/rtc_peer_connection_handler.cc |
diff --git a/content/renderer/media/rtc_peer_connection_handler.cc b/content/renderer/media/rtc_peer_connection_handler.cc |
index bf7b89e94a01f0714c249f38de5accc15a489041..1ddbca2b08c4a8882c4c3118a356051dd1f1c176 100644 |
--- a/content/renderer/media/rtc_peer_connection_handler.cc |
+++ b/content/renderer/media/rtc_peer_connection_handler.cc |
@@ -1432,6 +1432,11 @@ bool RTCPeerConnectionHandler::addICECandidate( |
} |
if (peer_connection_tracker_) { |
+ if (!return_value) { |
+ // Ensure that addIceCandidate shows up even if there is an error. |
tommi (sloooow) - chröme
2017/01/09 14:41:17
reporting this twice intentionally?
fippo
2017/01/09 15:09:32
Yes. The first one (with the true argument) genera
hta - Chromium
2017/01/16 09:12:22
The original logic seemed to be that you logged ei
|
+ peer_connection_tracker_->TrackAddIceCandidate( |
+ this, candidate, PeerConnectionTracker::SOURCE_REMOTE, true); |
+ } |
peer_connection_tracker_->TrackAddIceCandidate( |
this, candidate, PeerConnectionTracker::SOURCE_REMOTE, return_value); |
} |