Add UMA metrics for ICE regathering reasons.
BUG=webrtc:6462 R=deadbeef@webrtc.org Review URL: https://codereview.webrtc.org/2386783002 . Cr-Commit-Position: refs/heads/master@{#14531}
This commit is contained in:
@ -1300,6 +1300,7 @@ void PeerConnection::RegisterUMAObserver(UMAObserver* observer) {
|
||||
|
||||
// Send information about IPv4/IPv6 status.
|
||||
if (uma_observer_ && port_allocator_) {
|
||||
port_allocator_->SetMetricsObserver(uma_observer_);
|
||||
if (port_allocator_->flags() & cricket::PORTALLOCATOR_ENABLE_IPV6) {
|
||||
uma_observer_->IncrementEnumCounter(
|
||||
kEnumCounterAddressFamily, kPeerConnection_IPv6,
|
||||
|
||||
Reference in New Issue
Block a user