Bug 1345791: ICE disconnect state is not a crash. r?bwc
MozReview-Commit-ID: IwrWVvjkNmX
--- a/media/mtransport/nricectx.cpp
+++ b/media/mtransport/nricectx.cpp
@@ -1119,17 +1119,18 @@ void NrIceCtx::SetConnectionState(Connec
time_delta.ToMilliseconds());
} else {
Telemetry::Accumulate(
Telemetry::WEBRTC_ICE_ANSWERER_FAILURE_TIME,
time_delta.ToMilliseconds());
}
break;
case ICE_CTX_DISCONNECTED:
- MOZ_CRASH("Transition from checking->disconnected should never happen");
+ // We get this every time an ICE disconnect gets reported.
+ // Do we want a Telemetry probe counting how often this happens?
break;
case ICE_CTX_CLOSED:
// This doesn't seem to be used...
break;
}
}
MOZ_MTLOG(ML_INFO, "NrIceCtx(" << name_ << "): state " <<