зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1261955 - Remove VIDEO_MSE_JOIN_LATENCY_MS telemetry probe. r=SingingTree
This is no longer necessary. MozReview-Commit-ID: 81pF9cSvKab
This commit is contained in:
Родитель
01c64d0bc5
Коммит
d47d281bc4
|
@ -1297,9 +1297,6 @@ nsresult HTMLMediaElement::LoadResource()
|
|||
}
|
||||
RefPtr<MediaResource> resource =
|
||||
MediaSourceDecoder::CreateResource(mMediaSource->GetPrincipal());
|
||||
if (IsAutoplayEnabled()) {
|
||||
mJoinLatency.Start();
|
||||
}
|
||||
return FinishDecoderSetup(decoder, resource, nullptr);
|
||||
}
|
||||
|
||||
|
@ -2857,11 +2854,6 @@ HTMLMediaElement::ReportMSETelemetry()
|
|||
|
||||
Telemetry::Accumulate(Telemetry::VIDEO_MSE_PLAY_TIME_MS, SECONDS_TO_MS(mPlayTime.Total()));
|
||||
LOG(LogLevel::Debug, ("%p VIDEO_MSE_PLAY_TIME_MS = %f", this, mPlayTime.Total()));
|
||||
|
||||
double latency = mJoinLatency.Count() ? mJoinLatency.Total() / mJoinLatency.Count() : 0.0;
|
||||
Telemetry::Accumulate(Telemetry::VIDEO_MSE_JOIN_LATENCY_MS, SECONDS_TO_MS(latency));
|
||||
LOG(LogLevel::Debug, ("%p VIDEO_MSE_JOIN_LATENCY = %f (%d ms) count=%d\n",
|
||||
this, latency, SECONDS_TO_MS(latency), mJoinLatency.Count()));
|
||||
}
|
||||
|
||||
void HTMLMediaElement::UnbindFromTree(bool aDeep,
|
||||
|
@ -4339,7 +4331,6 @@ nsresult HTMLMediaElement::DispatchAsyncEvent(const nsAString& aName)
|
|||
|
||||
if ((aName.EqualsLiteral("play") || aName.EqualsLiteral("playing"))) {
|
||||
mPlayTime.Start();
|
||||
mJoinLatency.Pause();
|
||||
} else if (aName.EqualsLiteral("waiting")) {
|
||||
mPlayTime.Pause();
|
||||
Telemetry::Accumulate(Telemetry::VIDEO_MSE_BUFFERING_COUNT, 1);
|
||||
|
|
|
@ -1605,9 +1605,6 @@ private:
|
|||
// Total time an MSE video has spent playing
|
||||
TimeDurationAccumulator mPlayTime;
|
||||
|
||||
// Time spent between video load and video playback.
|
||||
TimeDurationAccumulator mJoinLatency;
|
||||
|
||||
// Indicates if user has interacted with the element.
|
||||
// Used to block autoplay when disabled.
|
||||
bool mHasUserInteraction;
|
||||
|
|
|
@ -8948,13 +8948,6 @@
|
|||
"kind": "boolean",
|
||||
"description": "EME video playback success or failure"
|
||||
},
|
||||
"VIDEO_MSE_JOIN_LATENCY_MS" : {
|
||||
"expires_in_version": "45",
|
||||
"description": "Time in MS between MSE video load and playback",
|
||||
"kind": "exponential",
|
||||
"high": 30000,
|
||||
"n_buckets": 50
|
||||
},
|
||||
"VIDEO_MSE_PLAY_TIME_MS" : {
|
||||
"expires_in_version": "45",
|
||||
"description": "Total time spent playing MSE video",
|
||||
|
|
|
@ -1019,7 +1019,6 @@
|
|||
"VIDEO_EME_PLAY_SUCCESS",
|
||||
"VIDEO_H264_SPS_MAX_NUM_REF_FRAMES",
|
||||
"VIDEO_MSE_BUFFERING_COUNT",
|
||||
"VIDEO_MSE_JOIN_LATENCY_MS",
|
||||
"VIDEO_MSE_PLAY_TIME_MS",
|
||||
"VIDEO_MSE_UNLOAD_STATE",
|
||||
"WEAVE_COMPLETE_SUCCESS_COUNT",
|
||||
|
@ -2387,7 +2386,6 @@
|
|||
"VIDEO_EME_REQUEST_SUCCESS_LATENCY_MS",
|
||||
"VIDEO_H264_SPS_MAX_NUM_REF_FRAMES",
|
||||
"VIDEO_MSE_BUFFERING_COUNT",
|
||||
"VIDEO_MSE_JOIN_LATENCY_MS",
|
||||
"VIDEO_MSE_PLAY_TIME_MS",
|
||||
"VIDEO_MSE_UNLOAD_STATE",
|
||||
"VIDEO_OPENH264_GMP_DISAPPEARED",
|
||||
|
|
Загрузка…
Ссылка в новой задаче