1

I am working on a Video Conferencing web application. I would like to reduce video quality on the computers which have older or less powerful hardware to manage their load. I know it is not possible to get exact hardware information from regular JavaScript running in the browser. But is it possible to get this from a C++ or Rust code that runs via WebAssembly?

Looking to get as much info as possible CPU/RAM/GPU

WhyDoThis
  • 25
  • 4
  • Does this answer your question? [Access Hardware Information from Web Browser](https://stackoverflow.com/questions/8420636/access-hardware-information-from-web-browser) – vahdet Jul 09 '20 at 12:10
  • Just play the video and check whether it drops frames. – tkausl Jul 09 '20 at 12:13
  • @vahdet The question you have linked to was asked years ago and does not contain information about WebAssembly in particular. – WhyDoThis Jul 10 '20 at 06:15
  • @tkasul Thanks, I'll keep this in mind. Still curious about WebAssembly though – WhyDoThis Jul 10 '20 at 06:16

1 Answers1

0

I know it is not possible to get exact hardware information from regular JavaScript running in the browser. But is it possible to get this from a C++ or Rust code that runs via WebAssembly?

No. WebAssembly has no access to any hardware information at all, except for what it can obtain via JavaScript.

GirkovArpa
  • 4,427
  • 4
  • 14
  • 43