webex / webex-js-sdk

JavaScript SDK for Webex
https://webex.github.io/webex-js-sdk/
Other
169 stars 336 forks source link

feat(plugin-meetings): add cpu info to MQA #3615

Open edvujic opened 1 month ago

edvujic commented 1 month ago

COMPLETES WEBEX-379500

This pull request addresses

This pull request addresses the need to gather information about the user's CPU, specifically the number of logical processors available, to potentially populate the numberOfCores field in MQA. The numberOfCores is defined in the project's CpuInfo data model as found in the event dictionary.

While the exact mapping of logical processors to physical CPU cores can be complex, the CpuInfo.getNumLogicalCores() (from @webex/web-capabilities) provides a convenient way to determine the number of logical processor cores available for running threads on the user's computer. This PR proposes to utilize the navigator.hardwareConcurrency API to obtain the logical processor count and considers the implications of using this value as a proxy for the actual number of CPU cores.

Change Type

I certified that


Make sure to have followed the contributing guidelines before submitting.