зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1766509. Add telemetry to track whether H264 is enabled. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D144827
This commit is contained in:
Родитель
984056514e
Коммит
64b078eb27
|
@ -587,11 +587,18 @@ class ConfigureCodec {
|
|||
mSoftwareH264Enabled = PeerConnectionCtx::GetInstance()->gmpHasH264();
|
||||
|
||||
if (WebrtcVideoConduit::HasH264Hardware()) {
|
||||
Telemetry::Accumulate(Telemetry::WEBRTC_HAS_H264_HARDWARE, true);
|
||||
branch->GetBoolPref("media.webrtc.hw.h264.enabled",
|
||||
&mHardwareH264Enabled);
|
||||
}
|
||||
|
||||
mH264Enabled = mHardwareH264Enabled || mSoftwareH264Enabled;
|
||||
Telemetry::Accumulate(Telemetry::WEBRTC_SOFTWARE_H264_ENABLED,
|
||||
mSoftwareH264Enabled);
|
||||
Telemetry::Accumulate(Telemetry::WEBRTC_HARDWARE_H264_ENABLED,
|
||||
mHardwareH264Enabled);
|
||||
Telemetry::Accumulate(Telemetry::WEBRTC_H264_ENABLED,
|
||||
mH264Enabled);
|
||||
|
||||
branch->GetIntPref("media.navigator.video.h264.level", &mH264Level);
|
||||
mH264Level &= 0xFF;
|
||||
|
|
|
@ -11258,6 +11258,46 @@
|
|||
"n_values": 8,
|
||||
"description": "Type of call: (Bitmask) Audio = 1, Video = 2, DataChannels = 4"
|
||||
},
|
||||
"WEBRTC_SOFTWARE_H264_ENABLED": {
|
||||
"record_in_processes": ["main", "content"],
|
||||
"products": ["firefox", "fennec"],
|
||||
"alert_emails": ["webrtc-telemetry-alerts@mozilla.com"],
|
||||
"expires_in_version": "never",
|
||||
"kind": "boolean",
|
||||
"bug_numbers": [1766509],
|
||||
"releaseChannelCollection": "opt-out",
|
||||
"description": "Whether hardware H264 is enabled"
|
||||
},
|
||||
"WEBRTC_HAS_H264_HARDWARE": {
|
||||
"record_in_processes": ["main", "content"],
|
||||
"products": ["firefox", "fennec"],
|
||||
"alert_emails": ["webrtc-telemetry-alerts@mozilla.com"],
|
||||
"expires_in_version": "never",
|
||||
"kind": "boolean",
|
||||
"bug_numbers": [1766509],
|
||||
"releaseChannelCollection": "opt-out",
|
||||
"description": "Whether the user has H264 hardware"
|
||||
},
|
||||
"WEBRTC_HARDWARE_H264_ENABLED": {
|
||||
"record_in_processes": ["main", "content"],
|
||||
"products": ["firefox", "fennec"],
|
||||
"alert_emails": ["webrtc-telemetry-alerts@mozilla.com"],
|
||||
"expires_in_version": "never",
|
||||
"kind": "boolean",
|
||||
"bug_numbers": [1766509],
|
||||
"releaseChannelCollection": "opt-out",
|
||||
"description": "Whether software H264 is enabled"
|
||||
},
|
||||
"WEBRTC_H264_ENABLED": {
|
||||
"record_in_processes": ["main", "content"],
|
||||
"products": ["firefox", "fennec"],
|
||||
"alert_emails": ["webrtc-telemetry-alerts@mozilla.com"],
|
||||
"expires_in_version": "never",
|
||||
"kind": "boolean",
|
||||
"bug_numbers": [1766509],
|
||||
"releaseChannelCollection": "opt-out",
|
||||
"description": "Whether any kind of H264 is enabled"
|
||||
},
|
||||
"MEDIA_RECORDER_RECORDING_DURATION": {
|
||||
"record_in_processes": ["main", "content"],
|
||||
"products": ["firefox", "fennec"],
|
||||
|
|
Загрузка…
Ссылка в новой задаче