mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-18 15:55:36 +00:00
Bug 1628048 - send telemetry data when users attempt to play HLS contents. r=bryce,liuche
Differential Revision: https://phabricator.services.mozilla.com/D75158
This commit is contained in:
parent
75174d81e5
commit
f4bf60b4d4
@ -143,8 +143,12 @@ static CanPlayStatus CanHandleCodecsType(
|
||||
|
||||
static CanPlayStatus CanHandleMediaType(
|
||||
const MediaContainerType& aType, DecoderDoctorDiagnostics* aDiagnostics) {
|
||||
if (DecoderTraits::IsHttpLiveStreamingType(aType)) {
|
||||
Telemetry::Accumulate(Telemetry::MEDIA_HLS_CANPLAY_REQUESTED, true);
|
||||
}
|
||||
#ifdef MOZ_ANDROID_HLS_SUPPORT
|
||||
if (HLSDecoder::IsSupportedType(aType)) {
|
||||
Telemetry::Accumulate(Telemetry::MEDIA_HLS_CANPLAY_SUPPORTED, true);
|
||||
return CANPLAY_MAYBE;
|
||||
}
|
||||
#endif
|
||||
|
@ -9402,6 +9402,24 @@
|
||||
"description": "Reports a true value when a page requests canPlayType for a matroska media type.",
|
||||
"bug_numbers": [1429986, 1570634, 1606206]
|
||||
},
|
||||
"MEDIA_HLS_CANPLAY_REQUESTED": {
|
||||
"record_in_processes": ["content"],
|
||||
"products": ["firefox", "geckoview"],
|
||||
"alert_emails": ["jolin@mozilla.com", "bvandyk@mozilla.com"],
|
||||
"expires_in_version": "85",
|
||||
"kind": "boolean",
|
||||
"description": "Reports a true value when a page requests canPlayType for a HLS media type.",
|
||||
"bug_numbers": [1628048]
|
||||
},
|
||||
"MEDIA_HLS_CANPLAY_SUPPORTED": {
|
||||
"record_in_processes": ["content"],
|
||||
"products": ["firefox", "geckoview"],
|
||||
"alert_emails": ["jolin@mozilla.com", "bvandyk@mozilla.com"],
|
||||
"expires_in_version": "85",
|
||||
"kind": "boolean",
|
||||
"description": "Reports a true value when a canPlayType request supports HLS.",
|
||||
"bug_numbers": [1628048]
|
||||
},
|
||||
"MEDIA_MP4_PARSE_SAMPLE_DESCRIPTION_ENTRIES_HAVE_MULTIPLE_CODECS": {
|
||||
"record_in_processes": ["main", "content"],
|
||||
"products": ["firefox", "fennec", "geckoview"],
|
||||
|
Loading…
Reference in New Issue
Block a user