forked from mirrors/gecko-dev
Bug 1881589 - report current state. r=jrmuizel
[current state](https://searchfox.org/mozilla-central/rev/9982a76fe95c70f7c2dca2d60bd78e015313924d/dom/media/platforms/wmf/metrics.yaml#72-74) was added in bug 1873394, but we forgot to report it. Differential Revision: https://phabricator.services.mozilla.com/D202488
This commit is contained in:
parent
eb365363c0
commit
e3cc3beaaa
1 changed files with 1 additions and 0 deletions
|
|
@ -1232,6 +1232,7 @@ bool ExternalEngineStateMachine::IsCDMProxySupported(CDMProxy* aProxy) {
|
|||
void ExternalEngineStateMachine::ReportTelemetry(const MediaResult& aError) {
|
||||
glean::mfcdm::ErrorExtra extraData;
|
||||
extraData.errorName = Some(aError.ErrorName());
|
||||
extraData.currentState = Some(nsAutoCString{StateToStr(mState.mName)});
|
||||
nsAutoCString resolution;
|
||||
if (mInfo) {
|
||||
if (mInfo->HasAudio()) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue